Skip to content
#

python-di

Here are 5 public repositories matching this topic...

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.

  • Updated Oct 12, 2026
  • Python

Add this topic to your repo

To associate your repository with the python-di topic, visit your repo's landing page and select "manage topics."

Learn more