Comparison
grimp vs importlab vs modulegraph 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 3 weeks ago, commits in 9 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 importlabPython module dependency analysis tool
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 modulegraphA 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.3M downloads a month, 56× more than importlab.
- grimp also has the best Pythie’s Index (80).
- modulegraph2 is growing fastest: downloads +88% over the last month.
- Safe default for a new project: grimp.
Side by side
| Metric | grimp | importlab | modulegraph | modulegraph2 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | 5 |