PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Dependency Injection Python Packages

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

Dependency injection framework for Python

8.8M 5K 352
hynek
svcs

A Flexible Service Locator for Python.

4.4M 423 25
alecthomas
injector

Python dependency injection framework, inspired by Guice

3.5M 2K 95
Lancetnik
fast-depends

FastDepends - FastAPI Dependency Injection system extracted from FastAPI and cleared of all HTTP logic. Async and sync modes are both supported.

1.7M 518 35
mauvilsa
jsonargparse

Minimal effort CLIs derived from type hints and parse from command line, config files and environment variables

1.7M 433 66
reagento
dishka

Cute dependency injection (DI) framework for Python with agreeable API and everything you need

929K 1K 129
sanic-org
sanic-ext

Extended Sanic functionality

338K 66 45
meadsteve
lagom

📦 Autowiring dependency injection container for python 3

315K 356 21
ikalnytskyi
picobox

Dependency injection framework designed with Python in mind.

204K 51 3
JasperSui
fastapi-injectable

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.

141K 298 10
maldoinc
wireup

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

127K 437 37
pyapp-kit
in-n-out

Type-hint-based Python dependency injection you can taste

120K 14 6
kodemore
kink

Dependency injection container made for Python

98K 445 29
Neoteroi
rodi

Implementation of dependency injection for Python 3

59K 240 18
pksol
pytest-fastapi-deps

A fixture which allows easy replacement of fastapi dependencies for testing

57K 34 0
modern-python
that-depends

Simple, typed dependency-injection framework for Python

47K 254 15
peter-daly
clean-ioc

A simple IoC library for python

44K 12 4
Finistere
antidote

Dependency injection for Python

43K 88 9
FasterSpeeding
alluka

A Python 3.11+ dependency injection framework.

25K 26 4
woltapp
magic-di

Dependency Injector with minimal boilerplate code, built-in support for FastAPI and Celery, and seamless integration to basically anything.

24K 70 2
modern-python
modern-di

Powerful dependency-injection framework with IoC container and scopes

22K 66 5
datalayer
reactor-mcp-server

⚛️ Reactor — Create Python and React.js extensible applications with the Reactor plugins framework.

16K 3 0
Point72
ccflow

ccflow is a collection of tools for workflow configuration, orchestration, and dependency injection

14K 44 7
troyan-dy
nuke-di

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

11K 5 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology