{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/8"}],"enrichment":{"capability":"Parses, classifies, and sorts Python import statements into standard groups (future, builtin, third-party, application) and provides utilities to split and refactor imports programmatically.","skillfed_tags":["import-refactoring","code-analysis"],"use_cases":["Automatically organize and group imports in Python files according to standard conventions during code refactoring.","Build custom import linting or validation tools that need to classify and partition imports by type.","Parse and manipulate import statements programmatically in code generation or AST transformation scripts.","Integrate import sorting logic into editor plugins or pre-commit hooks for consistent import organization.","Analyze Python codebases to identify and report on import patterns and dependencies."],"what_it_does":"classify-imports is a Python utility library for parsing and organizing import statements according to standard conventions. It classifies imports into four standard categories\u2014future, builtin, third-party, and application\u2014and provides functions to split compound imports, sort import groups, and determine the classification of any module name. The library works with import objects parsed from Python-like syntax, making it useful for code refactoring tools, linters, and import management scripts.\n\nThe package has no external runtime dependencies and is distributed as a pure Python wheel, making installation straightforward. It targets modern Python versions and supports both CPython and PyPy. With active maintenance and recent releases, it is suitable for integration into build pipelines or as a foundation for import-related tooling.","worth_installing":"Yes. The package is lightweight, actively maintained, has no dependencies, and solves a specific problem well. Install it if you need to programmatically classify or sort Python imports; skip it if you only need a command-line import formatter. The MIT license and recent activity make it a low-risk choice."},"id":"classify-imports","links":{"html":"https://skillfed.io/packages/classify-imports","md":"https://skillfed.io/packages/classify-imports.md","pypi":"https://pypi.org/project/classify-imports/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-10","license_spdx":null,"license_treatment":"permissive","name":"classify-imports","python_support":"supports_current","summary":"Utilities for refactoring imports in python-like syntax."},"popularity":{"monthly_downloads":382392,"position":7087,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"4.5.0"}
