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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file framework-detector-0.2.1.tar.gz.

File metadata

  • Download URL: framework-detector-0.2.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.9.6 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for framework-detector-0.2.1.tar.gz
Algorithm Hash digest
SHA256 18aa052180b3b8faa9a57d515a79f503276299aaf7e7db08942c5cb07b34225f
MD5 726853137df6358f81450171658159d5
BLAKE2b-256 edef7d89fdbf96c4d281e95cf24c6e89105a4b1724b4a426c5985ab881bc06fa

See more details on using hashes here.

File details

Details for the file framework_detector-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: framework_detector-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.9.6 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for framework_detector-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1d3a627613202e29e17ce138bd96e39c398cac035fe01b7267fee7e6b893b9df
MD5 52e7cb172d76449aedcf734cfbd4509f
BLAKE2b-256 2100d8f14d44f600d2ada938d9ff5516e2ade8c0c73e78a6b018a5f8e73936f6

See more details on using hashes here.

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