Comparison
grimp vs importlab vs modulegraph2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Builds a queryable graph of the imports within one or more Python packages.
Actively maintained. Last release 2 weeks ago, commits in 10 of the last 26 weeks. A safe choice.
$
pip install grimpA 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.
- grimp is the most used: 42.4M downloads a month, 56× more than importlab.
- grimp also has the best Pythie’s Index (82).
- modulegraph2 is growing fastest: downloads +81% over the last month.
- Safe default for a new project: grimp.
Side by side
| Metric | grimp | importlab | modulegraph2 |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | 5 |