Comparison
dishka vs inject vs simple-di
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Cute DI framework with scopes and agreeable API
Actively maintained. Last release 7 months ago, commits in 21 of the last 26 weeks. A safe choice.
$
pip install dishkaPython dependency injection framework.
Maintained. Last release 5 months ago, commits in 7 of the last 26 weeks.
$
pip install injectsimple dependency injection library
Low maintenance activity. Last release over 4 years ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install simple-diIn short
- inject is the most used: 2.6M downloads a month, 1.7× more than dishka.
- Maintenance is comparable: dishka 78, inject 69, simple-di 16 on Pythie’s Index.
- dishka is growing fastest: downloads +18% over the last month.
- Safe default for a new project: inject.