{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/18"},{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/5"}],"enrichment":{"capability":"Modulegraph2 builds and introspects a dependency graph of Python modules using static analysis of source and bytecode, annotating imports with metadata and linking to installed package information.","skillfed_tags":["dependency-analysis","static-analysis","module-introspection"],"use_cases":["Analyze import dependencies in a Python project to detect circular imports or unused modules.","Build tooling that needs to understand the module structure of a codebase for refactoring or optimization.","Generate documentation or visualizations of how modules in a project depend on each other.","Validate that a package's public API only imports from intended modules.","Trace which installed distributions provide modules used by a given Python project."],"what_it_does":"Modulegraph2 is a library for building and analyzing the dependency graph between Python modules. It performs static analysis on both source code and bytecode to discover which modules import which others, and annotates each dependency with metadata from the import statement itself. The graph also includes information about packages, extensions, and their relationships, with links to distribution metadata for modules installed via pip.\n\nThe package is a complete rewrite of an earlier modulegraph project, built from scratch for Python 3 with full test coverage. It's useful for understanding module structure, detecting circular dependencies, or building tools that need to reason about import relationships in a codebase.","worth_installing":"Yes, if you need to programmatically analyze Python module dependencies. The package is stable, has no known vulnerabilities, installs easily, and supports current Python versions. The aging maintenance status (264 days since last release) is a minor concern for a mature library, but not a blocker unless you need active development or rapid bug fixes."},"id":"modulegraph2","links":{"html":"https://skillfed.io/packages/modulegraph2","md":"https://skillfed.io/packages/modulegraph2.md","pypi":"https://pypi.org/project/modulegraph2/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-11-23","license_spdx":null,"license_treatment":"permissive","name":"modulegraph2","python_support":"supports_current","summary":"A module import dependency graph for Python projects."},"popularity":{"monthly_downloads":129321,"position":11674,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.3"}
