Generate Python module dependency graphs so refactors and package splits start from an actual import map instead of guesswork.
Scanned 6/8/2026
Install via CLI
openskills install agentskillexchange/skills---
name: "Map Python import graphs to explain coupling before refactors or package splits with pydeps"
slug: "map-python-import-graphs-to-explain-coupling-before-refactors-or-package-splits-with-pydeps"
description: "Generate Python module dependency graphs so refactors and package splits start from an actual import map instead of guesswork."
github_stars: 2076
verification: "security_reviewed"
source: "https://github.com/thebjorn/pydeps"
author: "thebjorn"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "thebjorn/pydeps"
github_stars: 2076
---
# Map Python import graphs to explain coupling before refactors or package splits with pydeps
Generate Python module dependency graphs so refactors and package splits start from an actual import map instead of guesswork.
## Prerequisites
Python, Graphviz, a local Python codebase to analyze.
## Installation
Use the upstream install or setup path that matches your environment:
- pip install pydeps
Requirements and caveats from upstream:
- Python module dependency visualization.
- --pylib include python std lib modules
- --pylib-all include python all std lib modules (incl. C modules)
Basic usage or getting-started notes:
- To create graphs with pydeps you also need to install Graphviz_. Please follow the
- sure the dot command is on your path).
- ------------------
- Source: https://github.com/thebjorn/pydeps
- Extracted from upstream docs: https://raw.githubusercontent.com/thebjorn/pydeps/HEAD/README.rst
## Documentation
- https://github.com/thebjorn/pydeps
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/map-python-import-graphs-to-explain-coupling-before-refactors-or-package-splits-with-pydeps/)
No comments yet. Be the first to comment!