TEMPLATE - Production-ready Python template
Minimal boilerplate to bootstrap a production-oriented Python service.
Quickstart
- Create a virtualenv and install dependencies:
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt- Run the app in development:
$env:PYTHONPATH = '.'
uvicorn --factory src.app.factory:create_app --reload --port 8000- Run tests and linters:
$env:PYTHONPATH = '.'
ruff check .
pytest -qDocumentation
Extended documentation is in the docs/ folder. See docs/README.md for details.