Comparison
import-deps vs importlab vs modulegraph 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 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 modulegraphPython 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.
- import-deps is the most used: 1.6M downloads a month, 2.0× more than importlab.
- import-deps also has the best Pythie’s Index (36).
Side by side
| Metric | import-deps | importlab | modulegraph | python-dep-tree |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 36 | Pythie’s Index: 5 | Pythie’s Index: 21 | Pythie’s Index: 27 |
| Verdict | Low maintenance activity | Archived | Low maintenance activity | Slowing down |
| Downloads / month | 1.6M | 765.6K | 174.3K | 101.5K |
| Downloads, month over month | -21% | -8% | -25% | +357% |
| GitHub stars | 25 | 179 | 45 | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 4 | 9 | 5 | 0 |
| Last release | Jan 9, 2026 | Oct 6, 2023 | Nov 22, 2025 | Feb 18, 2024 |
| Releases, 12 months | 1 | 0 | 0 | 0 |
| Weeks with commits | 1 / 26 | 0 / 26 | 0 / 26 | – |
| Recent contributors | 3 | 9 | 5 | – |
| First release | Jun 2018 | May 2018 | Dec 2005 | Aug 2023 |
| Python versions | 3.10 – 3.14 | – | 3.4 – 3.14 | 3.7 – 3.12 |
| License | MIT | Apache-2.0 | MIT | 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.