Comparison
import-deps vs modulegraph2 vs pydeps vs python-dep-tree
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 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 modulegraph2Display 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
- python-dep-tree is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- import-deps is the most used: 1.6M downloads a month, 3.6× more than pydeps.
- pydeps is better maintained: Pythie’s Index 77 against 36.
- modulegraph2 is growing fastest: downloads +92% over the last month.
Side by side
| Metric | import-deps | modulegraph2 | pydeps | python-dep-tree |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 36 | Pythie’s Index: 20 | Pythie’s Index: 77 | Pythie’s Index: 27 |
| Verdict | Low maintenance activity | Low maintenance activity | Actively maintained | Slowing down |
| Downloads / month | 1.6M | 262.9K | 435.9K | 101.5K |
| Downloads, month over month | -21% | +92% | +16% | +357% |
| GitHub stars | 25 | 15 | 2.1K | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 4 | 1 | 12 | 0 |
| Last release | Jan 9, 2026 | Nov 23, 2025 | Oct 1, 2026 | Feb 18, 2024 |
| Releases, 12 months | 1 | 0 | 8 | 0 |
| Weeks with commits | 1 / 26 | 0 / 26 | 7 / 26 | – |
| Recent contributors | 3 | 3 | 11 | – |
| First release | Jun 2018 | Feb 2019 | Dec 2014 | Aug 2023 |
| Python versions | 3.10 – 3.14 | 3.10 – 3.15 | 3.10 – 3.13 | 3.7 – 3.12 |
| License | MIT | 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.