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

Start new projects on modern-di. It has a minimal core plus framework integrations, listed in its docs.

that-depends is the earlier, async-first sibling and stays maintained. modern-di has migration guides from that-depends and from dependency-injector.

Project What it is Stars Downloads
modern-di Powerful dependency-injection framework with IoC container and scopes 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 Typed, resilient HTTP clients for Python, sync and async Stars Downloads
jwks-client Async JWKS client for verifying JWTs, with key caching, resilient fetching, and Litestar and FastAPI integrations 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
release-scope Collect what sits between production and the default branch across GitLab services: tags, MRs, Jira keys, failed jobs 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

For paid help with your own services, such as getting a backend ready for coding agents, a delivery review, or securing agent workflows, see services.

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 15

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

    Dockerized FastAPI + SQLAlchemy 2 + PostgreSQL app template with DI

    Python 216 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 9

Repositories

Showing 10 of 31 repositories

Top languages

Loading…

Most used topics

Loading…