Comparison
generalimport vs lazy-import vs lazy-imports vs mo-imports
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 module for lazy loading of Python modules
Likely abandoned. No release or commit for years (last release over 8 years ago).
pip install lazy-importTool 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-importsMore Imports! - Delayed importing
Maintained. Last release 4 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install mo-importsIn short
- generalimport is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- lazy-import looks abandoned: avoid it for new projects.
- lazy-imports is the most used: 1.7M downloads a month, 8.1× more than mo-imports.
- mo-imports is better maintained: Pythie’s Index 53 against 39.
Side by side
| Metric | generalimport | lazy-import | lazy-imports | mo-imports |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 24 | 9 |