Comparison
andi vs inject vs simple-di
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Library for annotation-based dependency injection
Actively maintained. Last release 3 months ago. A safe choice.
$
pip install andiPython 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.7M downloads a month, 14× more than andi.
- Maintenance is comparable: andi 72, inject 69, simple-di 16 on Pythie’s Index.
- andi is growing fastest: downloads +491% over the last month.
- Safe default for a new project: inject.