Cookiecutter for creating a simple FastAPI back-end, opinionated and ML oriented
- Install the latest Cookiecutter if you haven't installed it yet (this requires Cookiecutter 1.4.0 or higher):
$ pip install -U cookiecutter
- Generate a Python package project:
$ cookiecutter https://github.com/pistocop/cookiecutter-fastapi-ml.git
poetry
as Python dependency managementloguru
as logger manager- Docker image based on official guidelines
- Environment variables loader using
.env
file and official guidelines - ML models informations loaded from
.json
file from both App and download process
- Code and tips from ali92hm/cookiecutter-pyproject
- Cookiecutter usages from cookiecutter-pypackage
- add cookiecutter tests
- Note: Tests based on pytest-cookies
- test license generated
- test readme generated