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 58 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 208 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 27 repositories

Top languages

Loading…

Most used topics

Loading…