Ross ROSS = Recommend OSS · open-source software intelligence for agents

ets-labs/python-dependency-injector

Dependency injection framework for Python observed · 2026-08-28

github.com/ets-labs/python-dependency-injector · homepage · Python · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

95/100

  • Activity 97
  • Release rhythm 89
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 9.0
  • age_days: 4259
  • days_rel: 76
  • days_push: 22
  • n_releases_24m: 13

Full methodology

Adoption not part of the score

4908 stars · 351 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Dependency Injector is a dependency injection (IoC) framework for Python, offering providers such as Factory, Singleton, Configuration, and Resource, plus declarative and dynamic containers. It is written in Cython for performance, supports asynchronous injections, wiring into frameworks like Flask, Django, FastAPI, and Aiohttp, and is mypy-friendly with typing stubs.

Use cases

  • manage dependency injection in a python application
  • replace api clients with stubs in tests via provider overriding
  • load configuration from yaml json or environment variables
  • wire dependencies into flask or fastapi functions
  • implement singleton and factory patterns with an ioc container
  • inject dependencies into async python code

When to choose

  • you want explicit, testable object assembly with provider overriding
  • you need fast, production-ready DI with Cython performance
  • you use Flask, Django, FastAPI, Aiohttp, or Sanic and want framework integration
  • you need mypy-friendly typing stubs and async injection support

When to avoid

  • your project is small and manual constructor injection is sufficient
  • you prefer implicit or decorator-driven DI frameworks
  • you need a DI framework for a language other than Python

Facets

library · maturity stable

middleware configuration-management testing developer-tools developer-tools backend web-development python cross-platform windows dependency-injection ioc-container design-patterns cython asyncio wiring flask fastapi aiohttp mypy-friendly automation linux macos

6 sources

Member repositories

RepositoryRoleHealth v2
ets-labs/python-dependency-injectormain95

For agents

markdown · JSON · MCP: product_card(name="ets-labs/python-dependency-injector")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem