{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/2"}],"enrichment":{"capability":"Import Linter enforces architectural constraints on Python module imports and provides a browser-based UI for visualizing package architecture.","skillfed_tags":["architecture-validation","import-graph","code-quality"],"use_cases":["Enforce layered architecture rules (e.g., controllers cannot import from models directly) in a web framework project.","Prevent circular dependencies by declaring which modules are allowed to depend on which others.","Visualize and explore the import graph of an unfamiliar Python package to understand its structure.","Integrate import linting into CI/CD pipelines to catch architectural violations before merge.","Document intended module boundaries as executable constraints rather than prose guidelines."],"what_it_does":"Import Linter is a linting tool that lets you define and enforce rules about which Python modules can import from which other modules. Instead of discovering architectural violations at runtime or code review, you declare your intended module boundaries upfront\u2014for example, 'domain logic must not import from UI'\u2014and the linter checks your codebase against those rules. It's useful for maintaining clean separation of concerns in larger projects.\n\nBeyond the command-line linter, it includes a browser-based interface for exploring your package's import graph interactively. The tool depends on click for CLI handling, grimp for import graph analysis, rich for terminal output formatting, tomli for configuration parsing, and typing-extensions for type hints. It requires Python 3.10 or later and runs on Windows, POSIX, and Unix systems.","worth_installing":"Yes. Import Linter is production-stable, actively maintained, has no known vulnerabilities, and solves a real problem\u2014keeping Python module dependencies clean and intentional. The low install friction and permissive license make it a straightforward addition to any project that values architectural clarity. Install it if you want to enforce import rules or explore package structure."},"id":"import-linter","links":{"html":"https://skillfed.io/packages/import-linter","md":"https://skillfed.io/packages/import-linter.md","pypi":"https://pypi.org/project/import-linter/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-03","license_spdx":null,"license_treatment":"permissive","name":"import-linter","python_support":"supports_current","summary":"Lint your Python architecture"},"popularity":{"monthly_downloads":13487925,"position":1279,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.13"}
