Comparison
inject vs kink vs pinject vs punq
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 injectDependency injection for python.
Low maintenance activity. Last release 8 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install kinkA 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 punqIn short
- pinject is archived: avoid it for new projects.
- inject is the most used: 2.7M downloads a month, 20× more than kink.
- punq is better maintained: Pythie’s Index 80 against 69.
- kink is growing fastest: downloads +28% over the last month.
- Safe default for a new project: inject, or punq if active maintenance matters most.
Side by side
| Metric | inject | kink | pinject | punq |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 69 | Pythie’s Index: 39 | Pythie’s Index: 4 | Pythie’s Index: 80 |
| Verdict | Maintained | Low maintenance activity | Archived | Actively maintained |
| Downloads / month | 2.7M | 133.7K | 122.4K | 116.9K |
| Downloads, month over month | +14% | +28% | +11% | +20% |
| GitHub stars | 778 | 445 | 1.3K | 436 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 17 | 13 | 0 | 15 |
| Last release | Jul 13, 2026 | Mar 19, 2026 | Mar 23, 2021 | Sep 8, 2026 |
| Releases, 12 months | 3 | 1 | 0 | 2 |
| Weeks with commits | 7 / 26 | 2 / 26 | 0 / 26 | 21 / 26 |
| Recent contributors | 9 | 16 | 11 | 7 |
| First release | Feb 2010 | Dec 2019 | Jun 2013 | Sep 2017 |
| Python versions | 3.10 – 3.14 | 3.8 – 3.14 | – | 3.10 – 3.15 |
| License | Apache-2.0 | MIT | 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.