Comparison
import-deps vs importlab vs modulegraph2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
find python module imports
Low maintenance activity. Last release 11 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install import-depsA library to calculate python dependency graphs.
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install importlabA module import dependency graph for Python projects.
Low maintenance activity. Last release 12 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install modulegraph2In short
- importlab is archived: avoid it for new projects.
- import-deps is the most used: 1.5M downloads a month, 2.0× more than importlab.
- import-deps also has the best Pythie’s Index (36).
- modulegraph2 is growing fastest: downloads +88% over the last month.
Side by side
| Metric | import-deps | importlab | modulegraph2 |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 36 | 5 |