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 | |
litestar-sqlalchemy-template | Dockerized Litestar + SQLAlchemy 2 + PostgreSQL app template with DI |
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 | ||
modern-di-aiogram | modern-di integration for aiogram | ||
modern-di-aiohttp | modern-di integration for aiohttp | ||
modern-di-arq | modern-di integration for arq | ||
modern-di-celery | modern-di integration for Celery | ||
modern-di-fastapi | modern-di integration for FastAPI | ||
modern-di-faststream | modern-di integration for FastStream | ||
modern-di-flask | modern-di integration for Flask | ||
modern-di-grpc | modern-di integration for gRPC | ||
modern-di-litestar | modern-di integration for Litestar | ||
modern-di-pytest | Pytest integration for modern-di — turn DI dependencies into fixtures | ||
modern-di-starlette | modern-di integration for Starlette | ||
modern-di-taskiq | modern-di integration for taskiq | ||
modern-di-typer | modern-di integration for Typer | ||
that-depends | Simple, typed dependency-injection framework for Python |
| Project | What it is | Stars | Downloads |
|---|---|---|---|
lite-bootstrap | Lightweight bootstrap for production-ready Python microservices | ||
httpware | Python HTTP client framework with sync & async clients and built-in resilience | ||
faststream-redis-timers | FastStream integration for Redis-backed distributed timer scheduling | ||
faststream-concurrent-aiokafka | Concurrent message-processing middleware for FastStream + aiokafka | ||
faststream-outbox | FastStream transactional-outbox integration backed by a Postgres table |
| Project | What it is | Stars | Downloads |
|---|---|---|---|
compose2pod | Convert a Docker Compose file into a script that runs its services as a single Podman pod | ||
db-retry | Retry helpers for PostgreSQL / SQLAlchemy database operations | ||
eof-fixer | CLI tool that ensures text files end with exactly one newline | ||
semvertag | Auto-tag GitHub & GitLab repos with semantic version tags from CI |
If these projects save you time, consider supporting development on Boosty.