Comparison
generalimport vs lazy-imports vs lazyasd vs zope.deferredimport
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-importsLazy & self-destructive tools for speeding up module imports
Likely abandoned. No release or commit for years (last release over 8 years ago).
pip install lazyasdzope.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
- generalimport is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- lazyasd looks abandoned: avoid it for new projects.
- lazy-imports is the most used: 1.7M downloads a month, 6.5× more than zope.deferredimport.
- zope.deferredimport is better maintained: Pythie’s Index 51 against 39.
Side by side
| Metric | generalimport | lazy-imports | lazyasd | zope.deferredimport |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 24 | Pythie’s Index: 39 | Pythie’s Index: 14 | Pythie’s Index: 51 |
| Verdict | Slowing down | Low maintenance activity | Likely abandoned | Maintained |
| Downloads / month | 67.3K | 1.7M | 86.8K | 263.8K |
| Downloads, month over month | +117% | -1% | +27% | +6% |
| GitHub stars | 21 | 17 | 55 | 5 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 5 | 120 | 2 | 31 |
| Last release | Jan 24, 2024 | Dec 28, 2025 | Mar 21, 2018 | Feb 16, 2026 |
| Releases, 12 months | 0 | 1 | 0 | 2 |
| Weeks with commits | 0 / 26 | 0 / 26 | 0 / 26 | 1 / 26 |
| Recent contributors | 2 | 2 | 8 | 21 |
| First release | Sep 2022 | Jul 2021 | Jul 2016 | Feb 2007 |
| Python versions | 3.8 – 3.12 | 3.10 – 3.14 | – | 3.10 – 3.14 |
| License | Apache-2.0 | Apache-2.0 | BSD-3-Clause | ZPL-2.1 |
| 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.