Comparison
grimp vs import-deps 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 grimpfind 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-depsPython 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
- grimp is the most used: 43.4M downloads a month, 28× more than import-deps.
- grimp also has the best Pythie’s Index (79).
- modulegraph2 is growing fastest: downloads +92% over the last month.
- Safe default for a new project: grimp.
Side by side
| Metric | grimp | import-deps | modulegraph | modulegraph2 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 79 | Pythie’s Index: 36 | Pythie’s Index: 21 | Pythie’s Index: 20 |
| Verdict | Actively maintained | Low maintenance activity | Low maintenance activity | Low maintenance activity |
| Downloads / month | 43.4M | 1.6M | 174.3K | 262.9K |
| Downloads, month over month | +31% | -21% | -25% | +92% |
| GitHub stars | 139 | 25 | 45 | 15 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 16 | 4 | 5 | 1 |
| Last release | Nov 13, 2026 | Jan 9, 2026 | Nov 22, 2025 | Nov 23, 2025 |
| Releases, 12 months | 7 | 1 | 0 | 0 |
| Weeks with commits | 9 / 26 | 1 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 7 | 3 | 5 | 3 |
| First release | Dec 2018 | Jun 2018 | Dec 2005 | Feb 2019 |
| Python versions | 3.11 – 3.15 | 3.10 – 3.14 | 3.4 – 3.14 | 3.10 – 3.15 |
| License | BSD-2-Clause | MIT | MIT | MIT |
| 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.