Dependency Injector — Dependency injection microframework for Python

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

Dependency Injector framework key features are:

  • Easy, smart, pythonic style.
  • Obvious, clear structure.
  • Extensibility and flexibility.
  • High performance.
  • Memory efficiency.
  • Thread safety.
  • Documentation.
  • Semantic versioning.

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


PyPi Latest Version License
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