Comparison
inject vs lagom vs punq vs uncalled-for
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python dependency injection framework.
Maintained. Last release 5 months ago, commits in 7 of the last 26 weeks.
pip install injectLagom is a dependency injection container designed to give you 'just enough' help with building your dependencies.
Low maintenance activity. Last release 17 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install lagomAn 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 punqAsync dependency injection for Python functions
Actively maintained. Last release 3 days ago, commits in 9 of the last 26 weeks. A safe choice.
pip install uncalled-forIn short
- uncalled-for is the most used: 91.1M downloads a month, 34× more than inject.
- Maintenance is comparable: punq 80, uncalled-for 77, inject 69, lagom 19 on Pythie’s Index.
- uncalled-for is growing fastest: downloads +51% over the last month.
- uncalled-for is the newcomer: first released Feb 2026.
- Safe default for a new project: uncalled-for.
Side by side
| Metric | inject | lagom | punq | uncalled-for |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 69 | 19 |