Comparison
andi vs injector vs pinject vs wireup
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 andiInjector - Python dependency injection framework, inspired by Guice
Maintained. Last release 11 months ago, commits in 6 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install injectorA pythonic dependency injection library
Archived. The repository is read-only: no more fixes or releases will come.
pip install pinjectPython Dependency Injection Library
Actively maintained. Last release 4 weeks ago, commits in 13 of the last 26 weeks. A safe choice.
pip install wireupIn short
- pinject is archived: avoid it for new projects.
- injector is the most used: 3.9M downloads a month, 20× more than andi.
- wireup is better maintained: Pythie’s Index 83 against 49.
- andi is growing fastest: downloads +491% over the last month.
Side by side
| Metric | andi | injector | pinject | wireup |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 72 | Pythie’s Index: 49 | Pythie’s Index: 4 | Pythie’s Index: 83 |
| Verdict | Actively maintained | Maintained | Archived | Actively maintained |
| Downloads / month | 193.4K | 3.9M | 122.4K | 178.1K |
| Downloads, month over month | +491% | +6% | +11% | +32% |
| GitHub stars | – | 1.5K | 1.3K | 443 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 4 | 79 | 0 | 14 |
| Last release | Sep 17, 2026 | Jan 9, 2026 | Mar 23, 2021 | Nov 3, 2026 |
| Releases, 12 months | 1 | 1 | 0 | 20 |
| Weeks with commits | – | 6 / 26 | 0 / 26 | 13 / 26 |
| Recent contributors | – | 5 | 11 | 10 |
| First release | Aug 2019 | Nov 2010 | Jun 2013 | Sep 2023 |
| Python versions | 3.10 – 3.15 | – | – | 3.10 – 3.15 |
| License | Apache-2.0 | non-standard | Apache-2.0 | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.