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

Di Python Packages

Python packages with the GitHub topic di. Sorted by monthly downloads, with stars and forks.
alecthomas
injector

Python dependency injection framework, inspired by Guice

3.5M 2K 95
reagento
dishka

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

929K 1K 129
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
modern-python
that-depends

Simple, typed dependency-injection framework for Python

47K 254 15
modern-python
modern-di

Powerful dependency-injection framework with IoC container and scopes

22K 66 5
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
notypecheck
aioinject

Async-first python dependency injection library

10K 60 5
modern-python
modern-di-fastapi

modern-di integration for FastAPI

6K 1 0
100nm
python-injection

Dead-simple dependency injection framework for Python.

5K 127 1
MaxGoryunov
doppy-di

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

4K 2 0
modern-python
modern-di-typer

modern-di integration for Typer

4K 1 0
modern-python
modern-di-aiogram

modern-di integration for aiogram

4K 0 0
modern-python
modern-di-aiohttp

modern-di integration for aiohttp

3K 0 0
modern-python
modern-di-litestar

modern-di integration for Litestar

3K 0 0
modern-python
modern-di-faststream

modern-di integration for FastStream

3K 0 0
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
mwiatrzyk
pydio

Simple and functional dependency injection toolkit for Python

2K 3 1
modern-python
modern-di-pytest

Pytest integration for modern-di that turns DI dependencies into fixtures

2K 0 0
bagowix
dishka-fastmcp

Dishka dependency injection for FastMCP tools, resources, and prompts with request scopes and deterministic finalization.

2K 4 0
yakimka
picodi

Simple Dependency Injection library for Python. Supports both synchronous and asynchronous contexts and offers features like resource lifecycle management.

2K 31 1
modern-python
modern-di-taskiq

modern-di integration for taskiq

1K 0 0
modern-python
modern-di-celery

modern-di integration for Celery

1K 0 0
modern-python
modern-di-arq

modern-di integration for arq

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