Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Dependency Injection Container Python Packages

Python packages with the GitHub topic dependency-injection-container. Sorted by monthly downloads, with stars and forks.
ets-labs
dependency-injector

Dependency injection framework for Python

11M 5K 358
maldoinc
wireup

Type-driven dependency injection for Python. Fail-fast validation, lifetimes, native integrations for FastAPI, Flask, Django, and more.

163K 443 42
ets-labs
dependency-injector2

Dependency injection framework for Python

12K 5K 358
ets-labs
dependency-injector-fork

Dependency injection framework for Python

9K 5K 358
troyan-dy
nuke-di

Type-hint based dependency injection for async Python: client lifecycle, jobs and workers with graceful shutdown, FastAPI and pytest integration

5K 1 0
MaxGoryunov
doppy-di

Minimal dependency injection container that scales with developer's needs.

2K 2 0
wirio-org
wirio

Python Dependency Injection made simple, scalable, and reliable

2K 27 0
ets-labs
hmt-dependency-injector

Dependency injection framework for Python

2K 5K 358
nightblure
deps-injection

Dependency injection, works with FastAPI, Litestar, Django, Flask (Python 3.8-3.13). Light replacement with new features for dependency-injector

591 18 1
vshulcz
injex

Tiny typed dependency injection for Python: explicit wiring, graph validation, zero deps, fast resolves.

504 22 4
0xf104a
smalldi

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.

492 0 0
AndreuCodina
aspy-dependency-injection

Powerful Dependency Injection with Python

358 27 0
pavalso
pypotage

Beans is a simple and lightweight Python library based on Spring Framework. It provides a simple way to manage beans and their dependencies.

203 1 0
servicegraph-foss
servicegraph

A lightweight dependency injection framework for Python

187 1 0
h2non
siringa

Minimalist and idiomatic dependency injection library

141 56 2
Bloodielie
pyjectt

Light ioc container for you

140 1 0
pyuzi
uzi

Dependency injection library

118 3 0
fdorantesm
pynversify

A dependency injection container inspired by Inversify for Python.

114 0 0
pyuzi
django-uzi

uzi dependency injection adapter for django

81 1 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology