Skip to content

asynq-io/python-app-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Application Template

Opinionated template for creating modern, async native python API's

Usage

copier copy gh:asynq-io/python-app-template [DESTINATION_FOLDER]

Features

  • uv for dependency management
  • Fastapi Application boilerplate, with uvicorn production ready configuration (uvloop, h11)
  • Alembic migrations setup, (with date ascending file naming and async driver migrations running)
  • Postgres database (asyncpg driver)
  • Pytest async tests, with sqlite db by default, client fixture, async setup and plugins like coverage, sugar and repeat
  • Production ready, optimized Dockerfile and docker-compose for local development
  • Pre-configured linters & checkers (ruff, mypy)
  • Taskfile with useful commands
  • Structured logging config (json)
  • Opentelemetry integration
  • Prometheus /metrics endpoint
  • pre-commit config
  • Dependabot for automatic updates of Github Actions and python dependencies
  • Pull request pipeline with all the checks and coverage report

About

Opinionated Python Application Template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors