macOS
brew install isortlocal Homebrew formula metadata
brew
Sort Python imports automatically. Version 8.0.1 via Homebrew; verified from local package data.
install
brew install isortlocal Homebrew formula metadata
sudo apt install isortDebian stable package indexes · isort · source: deb.debian.org
nix profile install nixpkgs#isortnixpkgs package indexes · pkgs/by-name/is/isort/package.nix · source: api.github.com
overview
Sort Python imports automatically
history
isort is a Python command-line tool and library for sorting imports alphabetically and grouping them into sections. Its README frames the tool as a way to sort imports automatically across CLI, library, editor, and pre-commit workflows.
The PyCQA/isort repository was created in 2013, and PyPI metadata shows the 1.0.0 source distribution uploaded on 2013-12-10. Creator Timothy Crosley later described isort 5 as the refactoring of a ten-year-old project, placing isort among the early Python formatting tools that predated the Black-era formatter consolidation.
The project moved into the PyCQA ecosystem and grew from simple import ordering into a configurable formatter with profiles, editor integrations, pre-commit use, and documented upgrade guides. Its 5.0.0 upgrade guide calls that release the first major release in five years, while the changelog records Python 2 maintenance ending in the 4.3.x line and later compatibility work for newer Python versions.
isort became common in Python projects because import order is easy to automate and painful to review by hand. It is packaged by Homebrew, Debian, Ubuntu, Nix, and PyPI, and the project advertises command-line, library, and editor/plugin use.
Its adoption is tied to the broader Python code-quality stack. Documentation and changelog entries repeatedly mention Black compatibility, built-in profiles, pyproject.toml support, pre-commit usage, and editor integration, making it a companion tool for formatters and linters rather than a standalone style checker.
Users run `isort` over files or projects to rewrite import blocks, or use it through pre-commit hooks, editor integrations, and CI checks. Official configuration documentation lists `.isort.cfg`, `pyproject.toml`, `setup.cfg`, `tox.ini`, and `.editorconfig` as project configuration surfaces.
The tool can be used conservatively to check import order or actively to rewrite files, with profiles and options controlling section names, known first-party modules, line length, Black compatibility, and skip rules.
isort matters to package nerds because it shows how a small style tool becomes infrastructure: it appears in release tooling, pre-commit configs, editor extensions, CI images, and distribution packages. A version bump can affect thousands of downstream style checks even when runtime code is untouched.
It is also a useful marker for Python packaging eras: setup.cfg-era configuration, pyproject.toml adoption, Python 2 support removal, Black compatibility, and later trusted-publishing/release-infrastructure changes all show up in its history.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
./.isort.cfg./pyproject.toml./setup.cfg./tox.ini./.editorconfigexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
isort | cli | global executable | |
isort-identify-imports | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://pycqa.github.io/isort/
install metadata
| Package key | brew:isort |
|---|---|
| Version | 8.0.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/isort |
| Homepage | https://pycqa.github.io/isort/ |
| Repository | https://github.com/PyCQA/isort |
| Upstream docs | https://github.com/PyCQA/isort#readme |
| License | MIT |
| Source archive | https://files.pythonhosted.org/packages/ef/7c/ec4ab396d31b3b395e2e999c8f46dec78c5e29209fac49d1f4dace04041d/isort-8.0.1.tar.gz |
| Dependencies | python@3.14 |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | isort |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
isort 6.0.1-1
utility for sorting Python imports
https://github.com/PyCQA/isort
sudo apt install isortpython3-isort 6.0.1-1
library for sorting Python imports (Python 3)
https://github.com/PyCQA/isort
sudo apt install python3-isortisort
nix profile install nixpkgs#isortisort 5.6.4-1
utility for sorting Python imports
https://github.com/timothycrosley/isort
sudo apt install isortpython3-isort 5.6.4-1
library for sorting Python imports (Python 3)
https://github.com/timothycrosley/isort
sudo apt install python3-isortsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.