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 detector, get_dockerfile
from pathlib import Path

framework = detector.detect(Path.cwd())

dockerfile = get_dockerfile(framework["dockerfile"])

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.1.2.tar.gz (3.0 kB view hashes)

Uploaded source

Built Distribution

framework_detector-0.1.2-py3-none-any.whl (4.7 kB view hashes)

Uploaded py3

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 NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page