Port variant py39
Summary Utility library to sort Python imports (3.9)
Package version 5.10.1
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants py310
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 20 NOV 2021, 04:14:38 UTC
Port created 29 NOV 2020, 06:56:42 UTC
Subpackage Descriptions
single [![isort - isort your imports, so you don't have to.]]( ------------------------------------------------------------------------ [PyPI version] [Test Status] [Lint Status] [Code coverage Status] [License] [![Join the chat at]]( [Downloads] [![Code style: black]]( [![Imports: isort]]( [DeepSource] _________________ [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 separated 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.6+ 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 ` Install isort with requirements.txt support: ```bash pip install isort[requirements_deprecated_finder] ``` Install isort with Pipfile support: ```bash pip install isort[pipfile_deprecated_finder] ```
Configuration Switches (platform-specific settings discarded)
PY310 OFF Build using Python 3.10 PY39 ON Build using Python 3.9
Package Dependencies by Type
Build (only) python-pip:single:py39
Build and Runtime python39:single:standard
Download groups
main mirror://PYPIWHL/b8/5b/f18e227df38b94b4ee30d2502fd531bebac23946a2497e5595067a561274
Distribution File Information
6f62d78e2f89b4500b080fe3a81690850cd254227f27f75c3a0c491a1f351ba7 103430 isort-5.10.1-py3-none-any.whl
Ports that require python-isort:py39
python-pylint:py39 Python code static checker (3.9)