Dependency Injector — Dependency injection microframework for Python

Dependency Injector is a dependency injection microframework for Python. It was designed to be a unified and developer-friendly tool that helps implement a dependency injection design pattern in a formal, pretty, and Pythonic way.

The key features of the Dependency Injector framework are:

  • Easy, smart, and pythonic style.
  • Obvious and clear structure.
  • Extensibility and flexibility.
  • High performance.
  • Memory efficiency.
  • Thread safety.
  • Documented.
  • Semantically versioned.

Dependency Injector containers and providers are implemented as C extension types using Cython.


PyPi Latest Version License Downloads
Python versions and implementations Supported Python versions Supported Python implementations
Builds and tests coverage Build Status Docs Status Coverage Status
Github Github watchers Github stargazers Github forks