Comparison
fast-depends vs fastapi-injectable vs lagom
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
FastDepends - extracted and cleared from HTTP domain logic FastAPI Dependency Injection System. Async and sync are both supported.
Actively maintained. Last release 2 weeks ago, commits in 20 of the last 26 weeks. A safe choice.
pip install fast-dependsUse FastAPI's Depends() anywhere — in CLI tools, Celery tasks, background workers, and more. No refactoring needed.
Actively maintained. Last release 5 weeks ago, commits in 8 of the last 26 weeks. A safe choice.
pip install fastapi-injectableLagom 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 lagomIn short
- fast-depends is the most used: 2.3M downloads a month, 5.8× more than lagom.
- fast-depends also has the best Pythie’s Index (90).
- fastapi-injectable is the newcomer: first released Dec 2024.
- Safe default for a new project: fast-depends.
Side by side
| Metric | fast-depends | fastapi-injectable | lagom |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 90 | Pythie’s Index: 75 | Pythie’s Index: 19 |
| Verdict | Actively maintained | Actively maintained | Low maintenance activity |
| Downloads / month | 2.3M | 133.9K | 395.5K |
| Downloads, month over month | +9% | -6% | -5% |
| GitHub stars | 518 | 298 | 356 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 18 | 0 | 12 |
| Last release | Nov 15, 2026 | Oct 28, 2026 | Jul 16, 2025 |
| Releases, 12 months | 8 | 7 | 0 |
| Weeks with commits | 20 / 26 | 8 / 26 | 0 / 26 |
| Recent contributors | 5 | 3 | 6 |
| First release | Apr 2023 | Dec 2024 | Jun 2019 |
| Python versions | 3.10 – 3.15 | 3.10 – 3.14 | 3.7 – 3.13 |
| License | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.