Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages