Comparison
andi vs pinject vs punq 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 andiA pythonic dependency injection library
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install pinjectAn IOC Container for Python 3.10+
Actively maintained. Last release 3 months ago, commits in 21 of the last 26 weeks. A safe choice.
$
pip install punqPython 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.
- andi is the most used: 193.4K downloads a month.
- wireup is better maintained: Pythie’s Index 83 against 72.
- andi is growing fastest: downloads +491% over the last month.
- Safe default for a new project: andi, or wireup if active maintenance matters most.
Side by side
| Metric | andi | pinject | punq | wireup |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 72 | Pythie’s Index: 4 | Pythie’s Index: 80 | Pythie’s Index: 83 |
| Verdict | Actively maintained | Archived | Actively maintained | Actively maintained |
| Downloads / month | 193.4K | 122.4K | 116.9K | 178.1K |
| Downloads, month over month | +491% | +11% | +20% | +32% |
| GitHub stars | – | 1.3K | 436 | 443 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 4 | 0 | 15 | 14 |
| Last release | Sep 17, 2026 | Mar 23, 2021 | Sep 8, 2026 | Nov 3, 2026 |
| Releases, 12 months | 1 | 0 | 2 | 20 |
| Weeks with commits | – | 0 / 26 | 21 / 26 | 13 / 26 |
| Recent contributors | – | 11 | 7 | 10 |
| First release | Aug 2019 | Jun 2013 | Sep 2017 | Sep 2023 |
| Python versions | 3.10 – 3.15 | – | 3.10 – 3.15 | 3.10 – 3.15 |
| License | Apache-2.0 | Apache-2.0 | MIT | 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.