framework-detector

Detects which framework is in use in a project


Install
pip install framework-detector==0.2.1

Documentation

Framework detector

Detects which framework is in use for a project and suggests a dockerfile.

Strongly influenced by https://github.com/netlify/framework-info

Installation

pip install framework-detector

Usage

from framework_detector import detect, get_dockerfile
from pathlib import Path

framework = detect(Path.cwd())

dockerfile = get_dockerfile(framework["dockerfile"])

Supported frameworks

  • Flask
  • Spring Boot
  • Django
  • More to come...