Comparison
generalimport vs lazy-importer 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 generalimportA context manager for portable, opt-in lazy imports
Maintained. Last release 6 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install lazy-importerTool 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 5 of the last 26 weeks. Weaker on commit activity.
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: 43.4M downloads a month.
- lazy-loader also has the best Pythie’s Index (66).
- lazy-importer is growing fastest: downloads +7149041% over the last month.
- lazy-importer is the newcomer: first released Oct 2026.
- Safe default for a new project: lazy-loader.
Side by side
| Metric | generalimport | lazy-importer | lazy-imports | lazy-loader |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 24 | Pythie’s Index: 42 | Pythie’s Index: 39 | Pythie’s Index: 66 |
| Verdict | Slowing down | Maintained | Low maintenance activity | Maintained |
| Downloads / month | 67.3K | 32.6M | 1.7M | 43.4M |
| Downloads, month over month | +117% | +7149041% | -1% | +34% |
| GitHub stars | 21 | 4 | 17 | 214 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 5 | 1 | 120 | 265 |
| Last release | Jan 24, 2024 | Oct 20, 2026 | Dec 28, 2025 | Sep 21, 2026 |
| Releases, 12 months | 0 | 1 | 1 | 3 |
| Weeks with commits | 0 / 26 | 1 / 26 | 0 / 26 | 5 / 26 |
| Recent contributors | 2 | 1 | 2 | 9 |
| First release | Sep 2022 | Oct 2026 | Jul 2021 | Mar 2022 |
| Python versions | 3.8 – 3.12 | – | 3.10 – 3.14 | 3.9 – 3.15 |
| License | Apache-2.0 | Apache-2.0 | Apache-2.0 | BSD-3-Clause |
| 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.