SaaSHub helps you find the best software and product alternatives Learn more →
Top 12 Python dependency-graph Projects
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
scancode-toolkit
:mag: ScanCode detects licenses, copyrights, dependencies by "scanning code" ... to discover and inventory open source and third-party packages used in your code. Sponsored by NLnet, the Google Summer of Code, Azure credits, nexB and other generous sponsors!
-
emerge
Emerge is a browser-based interactive codebase and dependency visualization tool for many different programming languages. It supports some basic code quality and graph metrics and provides a simple and intuitive way to explore and analyze a codebase by using graph structures.
-
codegraph
Static Python dependency graph with interactive HTML visualization, massive object detection, and unlinked module analysis (no code execution). (by xnuinside)
-
-
mcp-codebase-index
17 MCP query tools for codebase navigation — functions, classes, imports, dependency graphs, change impact. Zero dependencies. 87% token reduction.
Project mention: Show HN: MCP Codebase Index – 87% fewer tokens when AI navigates your codebase | news.ycombinator.com | 2026-02-17Every list-returning tool takes max_results, source tools take max_lines. AI agents can manage their own token budgets.
The most interesting tool is probably get_change_impact — it walks the dependency graph transitively to tell you every symbol that would be affected by changing a given function or class. Traditional approach: read every file and hope the AI figures it out. Indexed approach: 204 characters.
Works with Claude Code, OpenClaw, Cursor, and any MCP-compatible client.
pip install "mcp-codebase-index[mcp]"
GitHub: https://github.com/MikeRecognex/mcp-codebase-index
More on local LLMs and AI-assisted dev at https://lftw.dev
-
Lynx
Light weight dependency graph for systems with massive calculation complexities or scheduling systems (by hosseinmoein)
-
Surfactant
Modular framework for file information extraction and dependency analysis to generate accurate SBOMs
Project mention: Show HN: Analyze binary capabilities in-browser with capa and Pyodide | news.ycombinator.com | 2026-01-21Hey all!
I’ve been working on getting Mandiant’s capa (a tool for identifying capabilities in executables) to run entirely client-side in the browser using Pyodide.
To make this happen, I’ve been working through the capa dependency tree to ensure all upstream packages publish an sdist or pure-Python wheels. We’ve finally reached the point where it’s possible to run capa to analyze binaries in a browser using the vivisect backend.
The long-term goal is to upstream these changes to the official mandiant/capa repository. I’d love for people to try it out and let me know how the performance feels or if you run into any quirks.
Again, a live version can be found here: https://surfactant.readthedocs.io/en/latest/capa/
And the source files for the page is here: https://github.com/llnl/Surfactant/tree/main/docs/capa
Suggestions and bug reports are welcome!
-
Project mention: Show HN: Engin – a modular application framework for Python | news.ycombinator.com | 2025-10-09
-
-
ruth
Google Maps for your codebase — interactive dependency graph, landmark detection, code preview, real-time topology updates
Project mention: Show HN: Ruth – Google Maps for your codebase (pip install ruth-code) | news.ycombinator.com | 2026-03-23 -
pviz-parser
Analyze your codebase's dependency graph and export a structured bundle — nodes, edges, metrics, and cycle detection across multiple languages
Project mention: Show HN: Pviz-parser – codebase parsing package for Python and TS/JS codebases | news.ycombinator.com | 2026-05-26
Python dependency-graph discussion
Python dependency-graph related posts
-
Show HN: Analyze binary capabilities in-browser with capa and Pyodide
-
Show HN: ChunkHound, a local-first tool for understanding large codebases
-
Android multimodule dependency graph generator
-
How to generate setup.py from pyproject.toml
-
VENV issue when activating after moving into a new directory
-
Scripts that help me during development
-
what is your opinion on the absolute minimum that needs to exist for a system to be considered “documented”.
-
A note from our sponsor - SaaSHub
www.saashub.com | 21 Jun 2026
Index
What are some of the best open-source dependency-graph projects in Python? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | pipdeptree | 3,001 |
| 2 | scancode-toolkit | 2,564 |
| 3 | emerge | 1,070 |
| 4 | codegraph | 483 |
| 5 | Android-multimodule-dependency-graph | 75 |
| 6 | mcp-codebase-index | 56 |
| 7 | Lynx | 51 |
| 8 | Surfactant | 41 |
| 9 | engin | 20 |
| 10 | civ6-graph | 6 |
| 11 | ruth | 1 |
| 12 | pviz-parser | 0 |