{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/12"}],"enrichment":{"capability":"Visualizes Python module dependencies as graphs by analyzing import bytecode and generating SVG or PNG diagrams using Graphviz.","skillfed_tags":["visualization","code-analysis","dependency-management"],"use_cases":["Identify circular imports in a codebase that may cause initialization problems or refactoring challenges.","Visualize the overall architecture of a large Python project to understand module organization and dependencies.","Generate dependency diagrams for documentation or architecture review presentations.","Detect tightly coupled modules by examining import patterns and suggesting areas for decoupling.","Analyze which external packages your project depends on directly using the `--externals` flag."],"what_it_does":"pydeps is a command-line tool and Python library that visualizes the dependency structure of Python packages by analyzing import bytecode and generating dependency graphs. It works by inspecting the import opcodes in compiled Python bytecode to discover which modules import which, then renders the result as an SVG or PNG diagram using Graphviz. The tool can highlight circular imports, filter by depth or distance, exclude standard library modules, and organize dependencies into clusters.\n\nThe package is designed primarily for command-line use but can also be imported and used as a library from Python code. It requires Graphviz to be installed separately on your system. The tool only discovers modules that are actually imported and can be found via Python's import machinery; unimported files in your directory are not included unless you use the `--include-missing` flag. It supports modern Python versions (3.10+) and has been actively maintained since 2014.","worth_installing":"Yes. pydeps is actively maintained, has low install friction, carries no security vulnerabilities, and solves a clear problem\u2014visualizing Python module dependencies\u2014that is difficult to do manually in large codebases. The permissive BSD-2-Clause license poses no restrictions. The only real prerequisite is having Graphviz installed separately, which is a one-time system setup."},"id":"pydeps","links":{"html":"https://skillfed.io/packages/pydeps","md":"https://skillfed.io/packages/pydeps.md","pypi":"https://pypi.org/project/pydeps/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-03","license_spdx":null,"license_treatment":"permissive","name":"pydeps","python_support":"supports_current","summary":"Display module dependencies"},"popularity":{"monthly_downloads":391797,"position":7011,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.0.7"}
