isort
« Back to VersTracker
Description:
Sort Python imports automatically
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: python linting formatter imports developer-tools
Install: brew install isort
About:
Isort is a Python utility that automatically sorts import statements alphabetically and separates them into sections. It helps maintain clean, readable codebases by enforcing consistent import organization. The tool is highly configurable and integrates easily with popular code editors and linters.
Key Features:
  • Automatically sorts and groups Python imports
  • Highly configurable with support for many config file formats
  • Seamless integration with Black, Flake8, and pre-commit hooks
Use Cases:
  • Enforcing consistent import style across a team
  • Automated code formatting in CI/CD pipelines
  • Cleaning up legacy codebases with mixed import styles
Alternatives:
  • Autoflake – Removes unused imports but does not sort them comprehensively
  • Black – A full code formatter that handles imports but is less configurable than isort
Version History
Detected Version Rev Change Commit
Oct 11, 2024 11:27am 0 VERSION_BUMP 31a84482
Dec 14, 2023 4:54am 0 VERSION_BUMP f40df37d
Dec 9, 2023 1:21pm 0 VERSION_BUMP 3ce33f81
Oct 15, 2023 3:00pm 1 VERSION_BUMP d477fcd4