Comparison
importlab vs modulegraph vs pydeps vs python-dep-tree
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A 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 modulegraphDisplay module dependencies
Actively maintained. Last release 2 months ago, commits in 7 of the last 26 weeks. A safe choice.
pip install pydepsPython wrapper for Dep Tree https://github.com/gabotechs/dep-tree
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install python-dep-treeIn short
- importlab is archived: avoid it for new projects.
- python-dep-tree is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- pydeps is the most used: 435.9K downloads a month.
- pydeps also has the best Pythie’s Index (77).
- pydeps is growing fastest: downloads +16% over the last month.
- Safe default for a new project: pydeps.
Side by side
| Metric | importlab | modulegraph | pydeps | python-dep-tree |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 5 | Pythie’s Index: 21 | Pythie’s Index: 77 | Pythie’s Index: 27 |
| Verdict | Archived | Low maintenance activity | Actively maintained | Slowing down |
| Downloads / month | 765.6K | 174.3K | 435.9K | 101.5K |
| Downloads, month over month | -8% | -25% | +16% | +357% |
| GitHub stars | 179 | 45 | 2.1K | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 9 | 5 | 12 | 0 |
| Last release | Oct 6, 2023 | Nov 22, 2025 | Oct 1, 2026 | Feb 18, 2024 |
| Releases, 12 months | 0 | 0 | 8 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | 7 / 26 | – |
| Recent contributors | 9 | 5 | 11 | – |
| First release | May 2018 | Dec 2005 | Dec 2014 | Aug 2023 |
| Python versions | – | 3.4 – 3.14 | 3.10 – 3.13 | 3.7 – 3.12 |
| License | Apache-2.0 | MIT | BSD-2-Clause | unknown |
| 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.