{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/19"},{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/5"}],"enrichment":{"capability":"modulegraph analyzes Python module dependencies by examining bytecode and import statements, building a directed graph of which modules depend on which others.","skillfed_tags":["dependency-analysis","bytecode-inspection","graph-building"],"use_cases":["Build tools that need to trace which modules a Python script depends on to bundle or freeze applications.","Static analysis tools that visualize or report on module dependency graphs within a codebase.","Linters or auditors checking for circular imports or unintended cross-module dependencies.","Packaging tools determining which modules to include when distributing a Python application.","Development environments generating module dependency documentation or diagrams."],"what_it_does":"modulegraph is a Python module dependency analyzer that uses bytecode examination and AST parsing to determine which modules import which others, producing a directed graph of dependencies. It extends the standard library's modulefinder with more flexible internal representation, better handling of edge cases (namespace packages, invalid modules, relative imports), and extensibility for custom analysis.\n\nThe package is primarily used as a building block in tools that need to understand Python module structure\u2014most notably py2app for creating standalone macOS applications. It handles modern Python versions through 3.14 and maintains backward compatibility with Python 2.7, though recent releases focus on contemporary Python support.","worth_installing":"Yes, if you need module dependency analysis for build automation or static analysis. The low install friction, permissive license, and lack of known vulnerabilities make it safe to add. However, the aging maintenance status (265 days since last release) and focus on legacy py2app use suggest it is stable but not actively evolving; verify it meets your specific Python version and analysis requirements before relying on it for new tooling."},"id":"modulegraph","links":{"html":"https://skillfed.io/packages/modulegraph","md":"https://skillfed.io/packages/modulegraph.md","pypi":"https://pypi.org/project/modulegraph/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-11-22","license_spdx":null,"license_treatment":"permissive","name":"modulegraph","python_support":"unspecified","summary":"Python module dependency analysis tool"},"popularity":{"monthly_downloads":114882,"position":12276,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.19.7"}
