Comparison
apipkg vs generalimport vs lazy-imports
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 apipkgHandle all your optional dependencies with a single call!
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install generalimportTool 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-importsIn short
- generalimport is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- lazy-imports is the most used: 1.7M downloads a month, 2.7× more than apipkg.
- lazy-imports also has the best Pythie’s Index (39).
Side by side
| Metric | apipkg | generalimport | lazy-imports |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 18 | 24 |