{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities"}],"enrichment":{"capability":"Grimp builds a queryable graph of Python package imports, letting you analyze module dependencies, find import chains, and trace which modules import what.","skillfed_tags":["code-analysis","dependency-graph","refactoring-tool"],"use_cases":["Audit a package's internal structure to identify circular dependencies or tightly coupled modules.","Find the shortest import path between two modules to understand coupling depth.","Trace which modules depend on a specific internal API before refactoring it.","Analyze namespace packages to understand how portions are distributed and imported.","Generate import statistics for code quality reports or architecture documentation."],"what_it_does":"Grimp is a Python import graph builder that constructs a queryable representation of how modules within one or more packages import each other. It parses the installed package code and builds a directed graph where nodes are modules and edges represent import relationships. You use it to answer questions like 'what does this module import', 'what imports this module', and 'what is the shortest import chain between two modules'.\n\nThe package supports analyzing single packages, multiple packages together, and namespace packages. By default it excludes external dependencies, but you can include them to see the full import picture including third-party libraries. It returns import details including line numbers and the actual import statements, making it useful for code audits, refactoring, and understanding package architecture.","worth_installing":"Yes. Grimp is actively maintained, has no known vulnerabilities, uses a permissive license, and solves a specific problem\u2014understanding Python package import structure\u2014that has no obvious built-in alternative. The medium install friction is standard for compiled packages and poses no real barrier. Install it if you need to analyze or audit module dependencies in Python code."},"id":"grimp","links":{"html":"https://skillfed.io/packages/grimp","md":"https://skillfed.io/packages/grimp.md","pypi":"https://pypi.org/project/grimp/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-03","license_spdx":null,"license_treatment":"permissive","name":"grimp","python_support":"supports_current","summary":"Builds a queryable graph of the imports within one or more Python packages."},"popularity":{"monthly_downloads":14311547,"position":1237,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.15"}
