# isort

> Sort Python imports alphabetically and into sections

Source: https://talira.ai/catalog/isort-d779hetb
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Library
- Categories: [developer tools / formatting](https://talira.ai/categories/developer-tools/formatting), [languages / python](https://talira.ai/categories/languages/python)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [PyCQA](https://talira.ai/orgs/pycqa.md)

isort is a [Python](https://talira.ai/catalog/python-tgjs08pq.md) utility and library from PyCQA that sorts imports alphabetically and separates them into sections and by type. It runs as a command-line tool, as a Python library and through editor plugins and pre-commit, has a compatibility profile for Black, and can format Python 2 code as well as Python 3.

## Links

- Website: https://isort.readthedocs.io/
- GitHub: https://github.com/PyCQA/isort
- Docs: https://isort.readthedocs.io/

## Problems it solves

- keep the imports at the top of my Python files in a consistent order
- fix import order automatically in CI
- stop merge conflicts from reordered Python imports

## Features

- sort imports alphabetically
- group imports into sections and by type
- command line, library and editor plugins
- pre-commit hook
- Black compatibility profile

## Trust

Overall: 0.70 out of 1.
Signals: maintenance 1.00, adoption 0.77, momentum 0.50, community 1.00, backing 0.30, extensibility 0.00.

- last commit 8 days ago
- 150 commits in the last 90 days
- latest release 9.0.2 57 days ago
- 7.0k GitHub stars
- 386 contributors
- accepts sponsorship (Github, Tidelift)
- backed by PyCQA

## Alternatives

- [Ruff](https://talira.ai/catalog/ruff-t1e35scd.md): An extremely fast Python linter and code formatter, written in Rust

## Sources

[^1]: https://github.com/PyCQA/isort/blob/main/LICENSE (checked 24 Nov 2026)
