Comparison
generalimport vs lazy-imports vs lazy-loader
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Handle 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-importsMakes it easy to load subpackages and functions on demand.
Maintained. Last release 2 months ago, commits in 6 of the last 26 weeks.
$
pip install lazy-loaderIn short
- generalimport is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- lazy-loader is the most used: 43M downloads a month, 25× more than lazy-imports.
- lazy-loader also has the best Pythie’s Index (68).
- lazy-loader is growing fastest: downloads +35% over the last month.
- Safe default for a new project: lazy-loader.
Side by side
| Metric | generalimport | lazy-imports | lazy-loader |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 24 | 39 |