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
fastapi-sqlalchemy-template Dockerized FastAPI + SQLAlchemy 2 + PostgreSQL app template with DI Stars
litestar-sqlalchemy-template Dockerized Litestar + SQLAlchemy 2 + PostgreSQL app template with DI Stars

Dependency injection

Which one? Start new projects on modern-di — a minimal core plus the integrations below.

that-depends is the earlier, async-first sibling and stays maintained. Coming from it? modern-di ships a migration guide — and one from dependency-injector.

Project What it is Stars Downloads
modern-di Powerful dependency-injection framework with IoC container and scopes Stars Downloads
modern-di-aiogram modern-di integration for aiogram Stars Downloads
modern-di-aiohttp modern-di integration for aiohttp Stars Downloads
modern-di-arq modern-di integration for arq Stars Downloads
modern-di-celery modern-di integration for Celery Stars Downloads
modern-di-fastapi modern-di integration for FastAPI Stars Downloads
modern-di-faststream modern-di integration for FastStream Stars Downloads
modern-di-flask modern-di integration for Flask Stars Downloads
modern-di-grpc modern-di integration for gRPC Stars Downloads
modern-di-litestar modern-di integration for Litestar Stars Downloads
modern-di-pytest Pytest integration for modern-di — turn DI dependencies into fixtures Stars Downloads
modern-di-starlette modern-di integration for Starlette Stars Downloads
modern-di-taskiq modern-di integration for taskiq Stars Downloads
modern-di-typer modern-di integration for Typer Stars Downloads
that-depends Simple, typed dependency-injection framework for Python Stars Downloads

Microservices, HTTP & messaging

Project What it is Stars Downloads
lite-bootstrap Lightweight bootstrap for production-ready Python microservices Stars Downloads
httpware Python HTTP client framework with sync & async clients and built-in resilience Stars Downloads
faststream-redis-timers FastStream integration for Redis-backed distributed timer scheduling Stars Downloads
faststream-concurrent-aiokafka Concurrent message-processing middleware for FastStream + aiokafka Stars Downloads
faststream-outbox FastStream transactional-outbox integration backed by a Postgres table Stars Downloads

Utilities

Project What it is Stars Downloads
compose2pod Convert a Docker Compose file into a script that runs its services as a single Podman pod Stars Downloads
db-retry Retry helpers for PostgreSQL / SQLAlchemy database operations Stars Downloads
eof-fixer CLI tool that ensures text files end with exactly one newline Stars Downloads
semvertag Auto-tag GitHub & GitLab repos with semantic version tags from CI Stars Downloads

Support

If these projects save you time, consider supporting development on Boosty.

Boosty

Pinned Loading

  1. modern-di modern-di Public

    Powerful dependency-injection framework with IoC container and scopes

    Python 66 5

  2. that-depends that-depends Public

    Simple, typed dependency-injection framework for Python

    Python 253 14

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

    Dockerized FastAPI + SQLAlchemy 2 + PostgreSQL app template with DI

    Python 211 31

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

    Dockerized Litestar + SQLAlchemy 2 + PostgreSQL app template with DI

    Python 35 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 28 repositories
  • modern-di Public

    Powerful dependency-injection framework with IoC container and scopes

    modern-python/modern-di's past year of commit activity
    Python 66 MIT 5 5 0 Updated Sep 8, 2026
  • lite-bootstrap Public

    Lightweight bootstrap for production-ready Python microservices

    modern-python/lite-bootstrap's past year of commit activity
    Python 13 MIT 0 14 0 Updated Sep 7, 2026
  • that-depends Public

    Simple, typed dependency-injection framework for Python

    modern-python/that-depends's past year of commit activity
    Python 253 MIT 14 1 0 Updated Sep 7, 2026
  • semvertag Public

    Auto-tag GitHub & GitLab repos with semantic version tags from CI

    modern-python/semvertag's past year of commit activity
    Python 1 MIT 0 5 0 Updated Sep 7, 2026
  • modern-di-typer Public

    modern-di integration for Typer

    modern-python/modern-di-typer's past year of commit activity
    Python 1 MIT 0 1 0 Updated Sep 7, 2026
  • modern-di-taskiq Public

    modern-di integration for taskiq

    modern-python/modern-di-taskiq's past year of commit activity
    Python 0 MIT 0 0 0 Updated Sep 7, 2026
  • modern-di-starlette Public

    modern-di integration for Starlette

    modern-python/modern-di-starlette's past year of commit activity
    Python 0 MIT 0 1 0 Updated Sep 7, 2026
  • modern-di-pytest Public

    Pytest integration for modern-di — turn DI dependencies into fixtures

    modern-python/modern-di-pytest's past year of commit activity
    Python 0 MIT 0 1 0 Updated Sep 7, 2026
  • modern-di-litestar Public

    modern-di integration for Litestar

    modern-python/modern-di-litestar's past year of commit activity
    Python 0 MIT 0 0 0 Updated Sep 7, 2026
  • modern-di-grpc Public

    modern-di integration for gRPC

    modern-python/modern-di-grpc's past year of commit activity
    Python 0 MIT 0 0 0 Updated Sep 7, 2026