#180 · Primary category: MLOps & Evaluation

cookiecutter-fastapi

ai black boilerplate cli cookiecutter cookiecutter-fastapi deep-learning docker fastapi fastapi-boilerplate hacktoberfest llm machine-learning ml mlops neural-network openai python uv

Cookiecutter template for FastAPI projects using: Machine Learning, uv, Github Actions and Pytests

Project last updated:08/25/25

GitHub Stars

707

Forks

74

Contributors

5

License

MIT

Why we included this project

Standing up a FastAPI service that wraps a machine learning model usually means rebuilding the same project skeleton every time. This cookiecutter template automates that: one CLI command generates a FastAPI project with uv handling dependencies, pytest wired in for tests, and GitHub Actions set up for CI, so the plumbing is in place before you write any model code. It is a template, not a runtime, so its value lands at the start of a project, giving teams a consistent, tested baseline to extend rather than something you deploy directly. If you are tired of copy-pasting the same Dockerfile and CI config across repos, or you want a reproducible starting point for ML-backed APIs, this is a practical shortcut. One caveat: the generated layout reflects one opinionated setup, so plan to review it against your own conventions.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category