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 Badges
fastapi-sqlalchemy-template Dockerized web application with DI on FastAPI, SQLAlchemy 2, PostgreSQL Stars Context7 Template
litestar-sqlalchemy-template Dockerized web application on Litestar, SQLAlchemy 2, PostgreSQL Stars Context7 Template

Dependency injection

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

Microservices, HTTP & messaging

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

Utilities

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

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 250 15

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

    Dockerized FastAPI + SQLAlchemy 2 + PostgreSQL app template with DI

    Python 206 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 18 repositories

Top languages

Loading…

Most used topics

Loading…