Metadata-Version: 2.1
Name: framework-detector
Version: 0.1.2
Summary: Detects which framework is in use in a project
Home-page: https://github.com/pbexe/framework-detector
Author: Miles Budden
Author-email: git@miles.so
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: black (>=21.7b0,<22.0)
Requires-Dist: flake8 (>=3.9.2,<4.0.0)
Requires-Dist: mypy (>=0.910,<0.911)
Requires-Dist: pre-commit (>=2.14.0,<3.0.0)
Requires-Dist: pytest (>=6.2.4,<7.0.0)
Project-URL: Repository, https://github.com/pbexe/framework-detector
Description-Content-Type: text/markdown

# 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

```sh
pip install framework-detector
```

## Usage

```python
from framework_detector import detector, get_dockerfile
from pathlib import Path

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

dockerfile = get_dockerfile(framework["dockerfile"])
```
