Comparison
apipkg vs lazy-imports vs zope.deferredimport
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
apipkg: namespace control and lazy-import mechanism
Low maintenance activity. Last release over 3 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install apipkgTool to support lazy imports
Low maintenance activity. Last release 11 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install lazy-importszope.deferredimport allows you to perform imports names that will only be resolved when used in the code.
Maintained. Last release 10 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install zope-deferredimportIn short
- lazy-imports is the most used: 1.7M downloads a month, 2.7× more than apipkg.
- zope.deferredimport is better maintained: Pythie’s Index 51 against 39.
Side by side
| Metric | apipkg | lazy-imports | zope.deferredimport |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 18 | Pythie’s Index: 39 | Pythie’s Index: 51 |
| Verdict | Low maintenance activity | Low maintenance activity | Maintained |
| Downloads / month | 626.1K | 1.7M | 263.8K |
| Downloads, month over month | +4% | -1% | +6% |
| GitHub stars | 55 | 17 | 5 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 12 | 120 | 31 |
| Last release | Sep 19, 2023 | Dec 28, 2025 | Feb 16, 2026 |
| Releases, 12 months | 0 | 1 | 2 |
| Weeks with commits | 0 / 26 | 0 / 26 | 1 / 26 |
| Recent contributors | 10 | 2 | 21 |
| First release | Oct 2009 | Jul 2021 | Feb 2007 |
| Python versions | 3.7 – 3.11 | 3.10 – 3.14 | 3.10 – 3.14 |
| License | MIT | Apache-2.0 | ZPL-2.1 |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.