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 --extra-index-url https://__token__:<your_personal_token>@git.cardiff.ac.uk/api/v4/projects/5484/packages/pypi/simple
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
Built Distribution
Close
Hashes for framework_detector-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cc03f659f07c74f3fcbb0c8814f7e5151124c36610e77e2072bc04c0e05f6af |
|
MD5 | 43d610d9d183317f807fa60e0b3254e3 |
|
BLAKE2b-256 | 5d9071e6bff92fd9a37d8f0cc18c65719002e39bc1ca78aa3ab174f845096639 |