Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 683 Bytes

File metadata and controls

47 lines (31 loc) · 683 Bytes

Python App Template

This is a template for easily bootstrap a Python project using:

  • Python 3.12.8
  • FastAPI standard
  • Pytest
  • UV for dependencies management

Creating this Template

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