{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/13"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/16"}],"enrichment":{"capability":"Pyan3 performs static analysis on Python source code to generate call graphs showing how functions, classes, and modules use each other, with output to GraphViz, yEd, or plain text.","skillfed_tags":["code-analysis","visualization","static-analysis"],"use_cases":["Visualize call graphs for code review or documentation by generating SVG diagrams of function relationships.","Detect circular import dependencies at the module level to identify architectural problems.","Generate plain-text call graphs to feed into coding AI agents or documentation systems.","Analyze codebase structure without executing it, useful for security audits or understanding unfamiliar projects.","Control graph detail with depth filtering to create high-level architecture overviews or drill down to specific functions."],"what_it_does":"Pyan3 reads Python source files and builds a directed graph of how functions, classes, and modules relate to each other through calls and definitions. Unlike runtime profilers, it performs static analysis by examining code structure rather than executing it, making it useful for understanding architecture without running the code. The tool outputs graphs in multiple formats\u2014GraphViz DOT, yEd, SVG, HTML, or plain text\u2014and supports filtering by depth, direction, and import cycles. It also performs module-level dependency analysis to detect circular imports.\n\nThe package was recently revived in February 2026 with support for modern Python syntax (walrus operators, match statements, async with, type aliases) across Python 3.10\u20133.14. It includes a comprehensive test suite and offers both a command-line interface and a Python API for programmatic use. The single runtime dependency is jinja2, keeping the install footprint minimal.","worth_installing":"Yes, if you need static call-graph visualization or dependency analysis. The package is actively maintained, supports current Python versions, has low install friction, and offers both CLI and API modes. The copyleft GPL-2.0-or-later license is a consideration only if you plan to redistribute derivative code commercially. No known vulnerabilities."},"id":"pyan3","links":{"html":"https://skillfed.io/packages/pyan3","md":"https://skillfed.io/packages/pyan3.md","pypi":"https://pypi.org/project/pyan3/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-14","license_spdx":"GPL-2.0-or-later","license_treatment":"copyleft","name":"pyan3","python_support":"supports_current","summary":"Generate approximate call graphs for Python programs"},"popularity":{"monthly_downloads":204166,"position":9615,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.6.2"}
