NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1547 most downloaded on PyPI
Dependency injection framework for Python
Last release 3 months ago
18 Jun 2026
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
262 releases · first in 2016
Refactor provider internals: C functions naming scheme and code layout.
Refactor provider internals: C functions naming scheme and code layout.
Add Terrence Brannon (metaperl) to the list of contributors.
Move inline functions from class level to module level for removing them from virtual table and enable inlining.
Move inline functions from class level to module level for removing them from virtual table and enable inlining.
One column per quarter.
Fix flake8 E305 error in examples.
Fix flake8 E305 error in examples.
Remove public (extern) modifier utils constants.
Remove public (extern) modifier utils constants.
Fix flake8 E305 error in examples.
- Fix minor typo in README.
Fix minor typo in README.
Add "Services mini application" example.
Add "Services mini application" example.
Fix minor error in Factory provider API doc.
Add *.c source files under version control.
Add *.c source files under version control.
Change keywords.
All providers from dependency_injector.providers package are implemented as C extension types using Cython.
Providers
All providers from dependency_injector.providers package are implemented as C extension types using Cython.
Add BaseSingleton super class for all singleton providers.
Make Singleton provider not thread-safe. It makes performance of Singleton provider 10x times faster.
Add ThreadSafeSingleton provider - thread-safe version of Singleton provider.
Add ThreadLocalSingleton provider - Singleton provider that uses thread-local storage.
Remove provides attribute from Factory and Singleton providers.
Add set_args() and clear_args() methods for Callable, Factory and Singleton providers.
Containers
Module dependency_injector.containers was split into submodules without any functional changes.
Utils
Module dependency_injector.utils is split into dependency_injector.containers and dependency_injector.providers.
Miscellaneous
Remove @inject decorator.
Add makefile (clean, test, build, install, uninstall & publish commands).
Update repository structure:
Sources are moved under src/ folder.
Tests are moved under tests/unit/ folder.
- Fix typo in README.
Fix typo in README.
Add github badges to readme and docs index pages.
Add github badges to readme and docs index pages.
Update service names in services example miniapp.
Create engines & cars example miniapp.
Move fixtures to separate module in movie lister example.
Move fixtures to separate module in movie lister example.
- Fix typo in README.
Fix typo in README.
- Update README. - Update docs index page.
Update README.
Update docs index page.
- Fix typo in README.
Fix typo in README.
- Update README.
Update README.
- Update README.
Update README.
- Update README.
Update README.
- Update examples.
Update examples.
- Deprecate inject decorator.
Deprecate inject decorator.
Normalize package names by PEP-503.
Normalize package names by PEP-503.
Add ThreadLocalSingleton and DelegatedThreadLocalSingleton providers.
Add ThreadLocalSingleton and DelegatedThreadLocalSingleton providers.
Add documentation section about singleton providers and multi-threading.
Update API docs of creational providers.
Introduce new injections style for Callable, Factory & Singleton providers.
Introduce new injections style for Callable, Factory & Singleton providers.
Drop providers: Static, Value, Function, Class, Config.
Increase performance of making injections in 2 times (+100%).
Drop method injections.
Simplify providers overriding system.
Replace catalogs package with containers module.
Drop all backward compatibilities for 1.x.
Refactor most of the components.
Update documentation.
Your coding agent can read these notes before it upgrades. Set up the MCP server →