PyCQA/isort
Some data may be outdated — see provenance labels.
A Python utility / library to sort imports. observed · 2026-09-26
Health v2 · maintenance only
95/100
- Activity 96
- Release rhythm 92
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 19.0
- age_days: 4796
- days_rel: 54
- days_push: 25
- n_releases_24m: 9
Adoption not part of the score
6953 stars · 694 forks observed · 2026-09-26
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
isort is a Python utility and library that automatically sorts imports alphabetically and separates them into sections by type. It ships as a CLI tool, a Python library, and editor plugins, with official pre-commit support.
Use cases
- sort python imports alphabetically
- automatically organize import statements in my project
- clean up messy import blocks in python files
- enforce consistent import ordering across a codebase
- make isort compatible with black formatting
- run import sorting in pre-commit hooks
When to choose
- you want automated, deterministic import ordering in Python projects
- you need a formatter that integrates with black, pre-commit, and editors
- you want both a CLI and an embeddable Python library for import sorting
When to avoid
- you need general-purpose code formatting beyond imports (use black or ruff)
- your project is not Python
- you need a linter for code correctness rather than style
Facets
cli-tool · maturity stable
formatter linter cli developer-tools python cli cross-platform import-sorting code-style pre-commit python3 auto-formatter command-line python
2 sources
- readme: https://github.com/PyCQA/isort · fetched 2026-09-26 · 3e2282115a38
- registry_pypi: https://pypi.org/pypi/isort/json · fetched 2026-08-29 · fda070f71410
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| PyCQA/isort | main | 95 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem