Tiny typed dependency injection for Python: explicit wiring, graph validation, zero deps, fast resolves.
-
Updated
Oct 12, 2026 - Python
Tiny typed dependency injection for Python: explicit wiring, graph validation, zero deps, fast resolves.
Fully automatic dependency injection for Python using annotations / type hints.
InjectQ is a modern, lightweight Python dependency injection library focused on clarity, type-safety, and seamless framework integration
Minimal dependency injection container that scales with developer's needs.
Tiny, zero-dependency DI for Python. Decorators register singletons and interfaces, Provide[T] type hints inject them, overrides swap implementations, and scoped contexts give every test fresh instances. Thread-safe and tested on free-threaded CPython 3.14t/3.15t.
To associate your repository with the python-di topic, visit your repo's landing page and select "manage topics."