Skip to content
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.

2.7M 422 25
ikalnytskyi
picobox

Dependency injection framework designed with Python in mind.

214K 50 3
peter-daly
clean-ioc

A simple IoC library for python

55K 12 4
teamhide
pythondi

Python lightweight dependency injection library

8K 52 2
100nm
python-injection

Dead-simple dependency injection framework for Python.

5K 127 1
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
larose
cargo

Dependency injection library for Python

5K 19 2
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.

2K 1 1
gmaybrun
touchstone

IoC framework driven by annotations and type hints

2K 1 0
ZongXR
flask-ssm

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

1K 27 6
npgrosser
autowired

A minimalistic dependency injection library for Python

1K 18 0
andrelopes-code
pydepin

Type-first dependency-injection library for Python

901 1 0
aiokitchen
aiomisc-dependency

pytest fixture's style dependency injection for aiomisc

856 15 5
fshoocn
cordis-port

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

675 1 0
steinitzu
giveme

A simple python dependency injector

657 11 3
0nliner
archtool

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

523 8 0
eyaldror
di-container

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

519 6 1
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
ansatzcapital
dilib

Dependency injection (DI) library for Python

413 5 2
DavidLandup0
mitsuki

Python web framework with a Spring Boot-style programming model: dependency injection, layered components and convention over configuration, with Python's productivity.

391 22 0
akatrevorjay
mainline

Simple yet powerful python dependency injection

379 5 2
zibertscrem
hexdi

Highly extensible Dependency Injection framework for humans

363 5 0
OpenMindAmir
fastioc

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

256 14 0
zibertscrem
django-hexdi

Highly extensible Dependency injection framework for humans. Django integration

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