Skip to content

mferraz56/TEMPLATE

Repository files navigation

TEMPLATE - Production-ready Python template

Minimal boilerplate to bootstrap a production-oriented Python service.

Quickstart

  1. Create a virtualenv and install dependencies:
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
  1. Run the app in development:
$env:PYTHONPATH = '.'
uvicorn --factory src.app.factory:create_app --reload --port 8000
  1. Run tests and linters:
$env:PYTHONPATH = '.'
ruff check .
pytest -q

Documentation

Extended documentation is in the docs/ folder. See docs/README.md for details.

About

MHM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors