Open-source templates and libraries for building production-ready Python applications — web services, microservices, and the dependency injection that wires them together.
| 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 |
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 |
| 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 |
| 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 |
If these projects save you time, consider supporting development on Boosty.