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

Inversion Of Control Python Packages

Python packages with the GitHub topic inversion-of-control. Sorted by monthly downloads, with stars and forks.
hynek
svcs

A Flexible Service Locator for Python.

4.4M 423 25
ikalnytskyi
picobox

Dependency injection framework designed with Python in mind.

204K 51 3
peter-daly
clean-ioc

A simple IoC library for python

44K 12 4
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
teamhide
pythondi

Python lightweight dependency injection library

7K 52 2
larose
cargo

Dependency injection library for Python

6K 19 2
100nm
python-injection

Dead-simple dependency injection framework for Python.

5K 127 1
fshoocn
cordis-port

Cordis 核心包的 Python 移植 · 插件化运行时 / 依赖注入 / 事件总线 · Python port of cordis (plugin runtime, DI, event bus)

3K 0 0
Synaptic724
melder

High-performance Dependency Graph Runtime for Python 3.14+, combining thread-safe DI, scoped lifecycles, dynamic composition, and runtime introspection for free-threaded applications.

3K 1 1
andrelopes-code
pydepin

Type-first dependency injection for Python 3.12+ with a zero-dependency core, build-time validation, and optional FastAPI integration.

2K 1 0
ZongXR
flask-ssm

一款模仿SpringFramework的Python的web后端框架,基于Flask二次封装。通过Python反射模拟了Java的IOC控制反转,通过Python装饰者模式模拟了Java的AOP面向切面编程。具有接口自动发现、定时任务自动注册、事务管理器、单元测试,等功能。简化web后端开发流程,聚焦业务逻辑,让你按照Spring的习惯写Python

2K 27 6
DavidLandup0
mitsuki

Python's flexibility and productivity, Spring Boot's battle-tested enterprise patterns.

1K 22 0
npgrosser
autowired

Declarative Dependency Injection for Python

1K 18 0
steinitzu
giveme

A simple python dependency injector

959 11 3
aiokitchen
aiomisc-dependency

pytest fixture's style dependency injection for aiomisc

786 15 5
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.

518 0 0
ansatzcapital
dilib

Dependency injection (DI) library for Python

385 5 2
0nliner
archtool

Auto-wiring DI + layer enforcement for Python. Define interfaces, write implementations — archtool assembles everything at startup.

357 8 0
zibertscrem
hexdi

Highly extensible Dependency Injection framework for humans

299 5 0
gmaybrun
touchstone

Touchstone is an annotations-driven Inversion of Control container for Python 3.6 and above.

296 1 0
OpenMindAmir
fastioc

IoC/DI container for FastAPI with automatic type-based dependency injection

289 13 0
eyaldror
di-container

Dependency Injection Container - Full featured, flexible and fluent IoC solution for Python

286 6 1
akatrevorjay
mainline

Simple yet powerful python dependency injection

245 5 2
zibertscrem
django-hexdi

Highly extensible Dependency injection framework for humans. Django integration

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