PyCQA/isort

A Python utility / library to sort imports.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 51 minutes ago
Added to GitGenius on September 9th, 2026
Created on September 2nd, 2013
Open Issues & Pull Requests: 94 (+0)
GitHub issues: Enabled
Number of forks: 685
Total Stargazers: 6,951 (+0)
Total Subscribers: 42 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 39.5 days
Mean response time: 347.4 days
90th percentile: 1323.9 days
Tracked items: 253

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 90% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 3% of issues opened in the past year have been closed. Three people close 95% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 52
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,203 days
Stale 30+ days: 42
Stale 90+ days: 17

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 1
Events in 7 days: 1

Top labels

  • enhancement (15)
  • documentation (8)
  • bug (7)
  • question (7)
  • help wanted (4)
  • Hacktoberfest (2)
  • ci (2)
  • repo_needed (2)

Detailed Description

isort is a Python utility and library to sort imports alphabetically and automatically separate them into sections and by type.

isort solves the problem of maintaining consistent import organization across Python codebases. It works by parsing import statements and reordering them according to configurable rules, grouping them into logical sections and sorting them alphabetically within those sections. The tool can be invoked from the command line to process files recursively, integrated into editors through plugins, or called directly from Python code. It supports viewing proposed changes before applying them and can run atomically to verify that changes do not introduce syntax errors.

The tool suits any Python project seeking to enforce import consistency without manual effort. The tool offers extensive configuration options for controlling import organization, including custom sections, ordering rules, multi-line output modes with twelve possible formatting styles, indentation control, and balanced wrapping to produce visually even import layouts. Editor plugins are available for various text editors, with a wiki documenting the available integrations.

The project maintains active engagement with pull requests and community contributions. Development shows responsiveness to user needs through documented compatibility guides and integration support. The codebase demonstrates sustained attention to edge cases and configuration flexibility, with comprehensive documentation covering both basic usage and advanced customization scenarios.