Skip to content

Modern Python

Open-source templates and libraries for building production-ready Python applications — web services, microservices, and the dependency injection that wires them together.

uv Ruff ty Coverage

Project templates

Project What it is Stars Badges
fastapi-sqlalchemy-template Dockerized web application with DI on FastAPI, SQLAlchemy 2, PostgreSQL Stars Template
litestar-sqlalchemy-template Dockerized web application on Litestar, SQLAlchemy 2, PostgreSQL Stars Template

Dependency injection

Project What it is Stars Downloads
modern-di Powerful DI framework with scopes Stars Downloads
modern-di-aiohttp modern-di integration for aiohttp Stars Downloads
modern-di-fastapi modern-di integration for FastAPI Stars Downloads
modern-di-faststream modern-di integration for FastStream Stars Downloads
modern-di-litestar modern-di integration for Litestar Stars Downloads
modern-di-pytest modern-di integration for pytest Stars Downloads
modern-di-starlette modern-di integration for Starlette Stars Downloads
modern-di-typer modern-di integration for Typer Stars Downloads
that-depends Predecessor DI framework, still actively maintained Stars Downloads

Microservices, HTTP & messaging

Project What it is Stars Downloads
lite-bootstrap Lightweight package for bootstrapping new microservices Stars Downloads
httpware HTTP client framework with sync/async clients, middleware chain, and built-in resilience (retry, bulkhead) Stars Downloads
faststream-redis-timers FastStream broker integration for Redis-backed distributed timer scheduling Stars Downloads
faststream-concurrent-aiokafka Concurrent message processing middleware for FastStream with aiokafka Stars Downloads
faststream-outbox FastStream broker integration for the transactional outbox pattern with Postgres Stars Downloads

Utilities

Project What it is Stars Downloads
db-retry Retry helpers for PostgreSQL / SQLAlchemy database operations Stars Downloads
eof-fixer Automatically fix newlines at the end of files Stars Downloads
semvertag Auto-tag your GitHub/GitLab repo with semantic version tags from CI Stars Downloads

Pinned Loading

  1. modern-di modern-di Public

    Powerful dependency-injection framework with IoC container and scopes

    Python 57 5

  2. that-depends that-depends Public

    Simple, typed dependency-injection framework for Python

    Python 251 15

  3. fastapi-sqlalchemy-template fastapi-sqlalchemy-template Public

    Dockerized FastAPI + SQLAlchemy 2 + PostgreSQL app template with DI

    Python 207 31

  4. litestar-sqlalchemy-template litestar-sqlalchemy-template Public

    Dockerized Litestar + SQLAlchemy 2 + PostgreSQL app template with DI

    Python 34 3

  5. lite-bootstrap lite-bootstrap Public

    Lightweight bootstrap for production-ready Python microservices

    Python 13

  6. faststream-outbox faststream-outbox Public

    FastStream transactional-outbox integration backed by a Postgres table

    Python 3

Repositories

Showing 10 of 20 repositories

Top languages

Loading…

Most used topics

Loading…