This is a template for easily bootstrap a Python project using:
- Python 3.12.8
- FastAPI standard
- Pytest
- UV for dependencies management
- Creating a project using UV:
uv init python_app_template- Creating (and downloading if it not found) a specific Python version:
uv venv --python 3.12- Activating a Python virtual environment:
source .venv/bin/activate- Adding FastAPI to the project:
uv add fastapi- Adding Pytest to the project for development environment:
uv add pytest --dev- Installing cookiecutter with uv:
uv pip install cookiecutter