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.

Files for framework-detector, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size framework_detector-0.2.1-py3-none-any.whl (5.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size framework-detector-0.2.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page