{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance"}],"enrichment":{"capability":"Analyzes Python module imports statically using the ast module, without executing code, to map internal dependencies within a package or across files.","skillfed_tags":["code-quality","static-analysis"],"use_cases":["Detect circular dependencies in a package to identify and refactor problematic import cycles.","Enforce import patterns by checking for re-imports or inner imports within a codebase.","Visualize internal module dependencies as a graph for documentation or architecture review.","Generate a topological sort of modules for build systems or dependency-aware execution order.","Run checks in CI/CD pipelines to enforce consistent import style across a package."],"what_it_does":"import_deps is a static import analyzer built on the ast module from the standard library that maps which modules import which other modules within a package, without executing any code. It works as both a CLI tool and a library, letting you discover direct and transitive import relationships, detect patterns like circular dependencies, re-imports, and inner imports, and visualize dependency graphs in DOT format.\n\nThe tool is designed for code quality workflows: you give it a set of Python files or a package directory, and it reports what each module imports from the others. It can output results as plain text, JSON, or a dependency graph, and includes checks useful for enforcing import patterns in CI/CD pipelines. It also supports topological sorting to order modules by their dependency depth.","worth_installing":"Yes, if you need static import analysis for code quality or architecture review within a single package. The tool is stable (MIT, no vulnerabilities, low install friction) and supports current Python versions. Install with caution if your project depends on frequent updates\u2014maintenance is aging and the last release was 217 days ago, so it may lag behind new Python versions or edge cases."},"id":"import-deps","links":{"html":"https://skillfed.io/packages/import-deps","md":"https://skillfed.io/packages/import-deps.md","pypi":"https://pypi.org/project/import-deps/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2026-01-09","license_spdx":null,"license_treatment":"permissive","name":"import-deps","python_support":"supports_current","summary":"find python module imports"},"popularity":{"monthly_downloads":1539820,"position":3788,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.5.1"}
