Skip to main content

Detects which framework is in use in a project

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

framework-detector-0.2.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

framework_detector-0.2.1-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page