Python dependency injection framework, inspired by Guice
-
Updated
Apr 14, 2026 - Python
Python dependency injection framework, inspired by Guice
Cute dependency injection (DI) framework for Python with agreeable API and everything you need
Type-driven dependency injection for Python. Fail-fast validation, explicit lifetimes, native integrations for FastAPI, Flask, Django, and more.
A seamless solution for using FastAPI's dependency injection system outside of route handlers, enabling painless reuse of dependencies in CLI tools, background tasks, and other non-HTTP contexts.
Simple Dependency injection framework for Python
🔌 Extremely fast, type-safe dependency injection for Python with auto-wiring, scopes, async factories, and zero deps!
Dockerized web application with DI on FastAPI, sqlalchemy2, PostgreSQL
Dead-simple dependency injection framework for Python.
Async-first python dependency injection library
Powerful DI-framework with scopes
Dockerized web application on LiteStar, SQLAlchemy2, PostgreSQL
Simple Dependency Injection library for Python. Supports both synchronous and asynchronous contexts and offers features like resource lifecycle management.
Dependency injection, works with FastAPI, Litestar, Django, Flask (Python 3.8-3.13). Light replacement with new features for dependency-injector
pytest fixture's style dependency injection for aiomisc
A lightweight framework for building Python applications that is not tied to a specific transport protocol
A utility that allows you to use DI in fastapi without Depends()
Add a description, image, and links to the di topic page so that developers can more easily learn about it.
To associate your repository with the di topic, visit your repo's landing page and select "manage topics."