Scroll to navigation

ISORT-IDENTIFY-IMPORTS(1) User Commands ISORT-IDENTIFY-IMPORTS(1)

NAME

isort-identify-imports - find Python import definitions

DESCRIPTION

usage: isort-identify-imports [-h] [--top-only] [--follow-links] [--unique |

files [files ...]

Get all import definitions from a given file. Use `-` as the first argument to represent stdin.

positional arguments:

One or more Python source files to search for imports.

options:

show this help message and exit
Only identify imports that occur in before functions or classes.
If true, isort will only identify unique imports.
If true, isort will only identify the unique top level modules imported.
If true, isort will only identify the unique modules imported.
If true, isort will only identify the unique attributes imported.

target options:

Tells isort to follow symlinks that are encountered when running recursively.

SEE ALSO

isort(1) - sort Python import definitions

https://pycqa.github.io/isort/
February 2025 isort-identify-imports 6.0.0