awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
PyCQA avatar

PyCQA/isort

0
View on GitHub↗
isort.readthedocs.io↗

Isort

isort is a Python import sorter and code formatter that organizes import statements into alphabetical groups and sections. It functions as both a utility to automatically rearrange imports for a consistent layout and as a linting tool to verify if code follows specific ordering rules.

The project provides configurable layout settings for indentation, wrapping modes, and section ordering to ensure compliance with project style guides and PEP 8. It allows for the exclusion of specific lines or files through inline comments and docstrings.

The tool integrates into development workflows via IDE and editor plugins and functions as a pre-commit hook for quality assurance within git workflows. It includes syntax validation to ensure that modifications to source code do not introduce errors.

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

Features

  • Import Organizers - Automatically sorts, cleans, and organizes Python import statements to maintain project consistency.
  • Import Sorters - Automatically organizes and sorts Python import statements using configurable ordering and wrapping styles.
  • Import Order Linters - Verifies if Python import statements follow defined ordering rules and reports discrepancies.
  • Python Source Formatters - Reformats Python source code imports to comply with project style guides and PEP 8.
  • Import Order Validation - Functions as a linting tool to verify if code follows defined import ordering rules without altering the files.
  • Layout Settings - Offers customizable indentation, wrapping modes, and section ordering to comply with specific project style guides.
  • IDE Integrated Tooling - Embeds import sorting capabilities directly into the development environment to reduce context switching.
  • IDE Plugins - Integrates with various text editors and IDEs to automate import sorting during the development process.
  • AST-Based Analysis - Implements AST parsing to precisely target import statements without altering unrelated source code.
  • Pre-commit Hooks - Provides integration for running import verification as part of a pre-commit quality workflow.
  • Configuration-Driven Sorting - Determines import ordering based on a flexible hierarchy of project-specific settings and PEP 8 guides.
  • Sequential Formatting Passes - Applies a series of discrete transformation rules through sequential passes over the source text.
  • Syntax Validation Linters - Verifies that no syntax errors were introduced by running modified code through the Python parser.
  • Code Analysis - Listed in the “Code Analysis” section of the Awesome Python awesome list.
  • Code Analysis and Quality - Utility for automatically sorting and organizing imports.
  • Code Formatters - Utility for automatically sorting and organizing import statements.
6,948 نجوم·649 تفرعات·Python·MIT·8 مشاهدات

سجل النجوم

مخطط تاريخ النجوم لـ pycqa/isortمخطط تاريخ النجوم لـ pycqa/isort

الأسئلة الشائعة

ما هي وظيفة pycqa/isort؟

isort is a Python import sorter and code formatter that organizes import statements into alphabetical groups and sections. It functions as both a utility to automatically rearrange imports for a consistent layout and as a linting tool to verify if code follows specific ordering rules.

ما هي الميزات الرئيسية لـ pycqa/isort؟

الميزات الرئيسية لـ pycqa/isort هي: Import Organizers, Import Sorters, Import Order Linters, Python Source Formatters, Import Order Validation, Layout Settings, IDE Integrated Tooling, IDE Plugins.

ما هي البدائل مفتوحة المصدر لـ pycqa/isort؟

تشمل البدائل مفتوحة المصدر لـ pycqa/isort: astral-sh/ruff — Ruff is a high-performance static analysis and code formatting tool designed for Python. Built in Rust, it functions… trivago/prettier-plugin-sort-imports — This project is a Prettier plugin designed to alphabetize, group, and format module import statements in JavaScript… psf/black — This project is an uncompromising, deterministic code formatter for Python. It functions by parsing source code into… nicklockwood/swiftformat — SwiftFormat is a tool for the Swift language that functions as a code formatter, linter, and refactoring utility. It… hhatto/autopep8 — autopep8 is a Python static code styler and formatter designed to automatically rewrite source code to comply with the… checkstyle/checkstyle — Checkstyle is a Java static analysis tool and linter designed to identify and enforce coding standards and best…

بدائل مفتوحة المصدر لـ Isort

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Isort.
  • astral-sh/ruffالصورة الرمزية لـ astral-sh

    astral-sh/ruff

    48,177عرض على GitHub↗

    Ruff is a high-performance static analysis and code formatting tool designed for Python. Built in Rust, it functions as a comprehensive engine that scans source code to detect programming errors, security vulnerabilities, and deviations from established coding standards. By parsing source code into a structured tree representation, it provides both automated linting and style enforcement across entire projects. The tool distinguishes itself through its speed and deep integration into the development lifecycle. It utilizes parallelized file processing to maximize throughput on large codebases

    Rustlinterpep8python
    عرض على GitHub↗48,177
  • trivago/prettier-plugin-sort-importsالصورة الرمزية لـ trivago

    trivago/prettier-plugin-sort-imports

    3,944عرض على GitHub↗

    This project is a Prettier plugin designed to alphabetize, group, and format module import statements in JavaScript and TypeScript files. It functions as an automated import organizer that ensures consistent declaration order and spacing across a project. The plugin uses custom regular expression patterns to sequence dependency imports into logical groups, allowing for the separation of internal and external modules. It supports the preservation of side-effect imports and provides the ability to sort individual named members within a single declaration by string length or alphabetization. Us

    TypeScripthacktoberfestimportjavascript
    عرض على GitHub↗3,944
  • psf/blackالصورة الرمزية لـ psf

    psf/black

    41,578عرض على GitHub↗

    This project is an uncompromising, deterministic code formatter for Python. It functions by parsing source code into an abstract syntax tree and regenerating it according to a rigid, opinionated set of style rules. By automating the formatting process, it eliminates manual style debates and configuration overhead, ensuring that code remains consistent across entire projects regardless of the original input. The tool distinguishes itself through its focus on speed and seamless integration into development workflows. It utilizes content-based file caching and parallel processing to maintain hig

    Pythonautopep8codecodeformatter
    عرض على GitHub↗41,578
  • nicklockwood/swiftformatالصورة الرمزية لـ nicklockwood

    nicklockwood/SwiftFormat

    8,835عرض على GitHub↗

    SwiftFormat is a tool for the Swift language that functions as a code formatter, linter, and refactoring utility. It automatically applies consistent style rules and visual formatting to source files to ensure a uniform appearance across a project. The project differentiates itself by providing both a command-line interface for batch processing and an Xcode extension for integration directly into the development environment. It includes specialized capabilities for modernizing legacy API usage, simplifying language constructs, and inferring formatting options by analyzing an existing codebase

    Swift
    عرض على GitHub↗8,835
عرض جميع البدائل الـ 30 لـ Isort→