python-isort
Port variant v13
Summary Utility library to sort Python imports (3.13)
Package version 9.0.1
Homepage https://isort.readthedocs.io/
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v14
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 30 AUG 2026, 02:39:52 UTC
Port created 30 NOV 2020, 06:56:42 UTC
Subpackage Descriptions
single [![isort - isort your imports, so you don't have to.]](https://isort.readthedocs.io/) ------------------------------------------------------------------------ [PyPI version] [![Python Version]][pypi status] [CI] [Code coverage Status] [License] [Downloads] [![Code style: black]](https://github.com/psf/black) [![Imports: isort]](https://isort.readthedocs.io/) [DeepSource] [pypi status]: https://pypi.org/project/isort/ _________________ [Read Latest Documentation] - [Browse GitHub Code Repository] _________________ # isort your imports, so you don't have to. isort is a Python utility / library to sort imports alphabetically and automatically separate into sections and by type. It provides a command line utility, Python library and [plugins for various editors] to quickly sort all your imports. It requires Python 3.10+ to run but supports formatting Python 2 code too. - [Try isort now from your browser!] - [Using black? See the isort and black compatibility guide.] - [isort has official support for pre-commit!] ![Example Usage] Before isort: ```python from my_lib import Object import os from my_lib import Object3 from my_lib import Object2 import sys from third_party import lib15, lib1, lib2, lib3, lib4, lib5, lib6, lib7, lib8, lib9, lib10, lib11, lib12, lib13, lib14 import sys from __future__ import absolute_import from third_party import lib3 print("Hey") print("yo") ``` After isort: ```python from __future__ import absolute_import import os import sys from third_party import (lib1, lib2, lib3, lib4, lib5, lib6, lib7, lib8, lib9, lib10, lib11, lib12, lib13, lib14, lib15) from my_lib import Object, Object2, Object3 print("Hey") print("yo") ``` ## Installing isort Installing isort is as simple as: `bash pip install isort ` ## Using isort **From the command line**: To run on specific files: ```bash isort mypythonfile.py mypythonfile2.py ``` To apply recursively:
Configuration Switches (platform-specific settings discarded)
PY313 ON Build using Python 3.13 PY314 OFF Build using Python 3.14
Package Dependencies by Type
Build (only) python313:dev:std
python-pip:single:v13
autoselect-python:single:std
Build and Runtime python313:primary:std
Runtime (only) python-mypy-extensions:single:v13
Download groups
main mirror://PYPIWHL/af/6e/4ec84f19b008864656b9f158bad006aa6346e754694aff47a7fa9ee65a19
Distribution File Information
5aac7263b7a7f9f647f94fb6df2761ff5b60a7168eb492ff39dd30443207fa19 103487 python-src/isort-9.0.1-py3-none-any.whl
Ports that require python-isort:v13
python-pylint:v13 Python code static checker (3.13)