Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.21 KB

File metadata and controls

29 lines (23 loc) · 1.21 KB

Cookiecutter-fastapi-ml

Cookiecutter for creating a simple FastAPI back-end, opinionated and ML oriented

Quickstart

  • 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

FastAPI template features

  • poetry as Python dependency management
  • loguru 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

Credits

TODO

  • review script fmt / linters and cfg file
  • use the toml version as BE version