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
- review script fmt / linters and cfg file
- use the toml version as BE version