.\" generated by help2man 1.49.3. .TH ISORT-IDENTIFY-IMPORTS "1" "February 2025" "isort-identify-imports 6.0.0" "User Commands" .SH NAME isort-identify-imports \- find Python import definitions .SH DESCRIPTION usage: isort\-identify\-imports [\-h] [\-\-top\-only] [\-\-follow\-links] [\-\-unique | .TP \fB\-\-packages\fR | \fB\-\-modules\fR | \fB\-\-attributes]\fR files [files ...] .PP Get all import definitions from a given file. Use `\-` as the first argument to represent stdin. .SS "positional arguments:" .TP files One or more Python source files to search for imports. .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-top\-only\fR Only identify imports that occur in before functions or classes. .TP \fB\-\-unique\fR If true, isort will only identify unique imports. .TP \fB\-\-packages\fR If true, isort will only identify the unique top level modules imported. .TP \fB\-\-modules\fR If true, isort will only identify the unique modules imported. .TP \fB\-\-attributes\fR If true, isort will only identify the unique attributes imported. .SS "target options:" .TP \fB\-\-follow\-links\fR Tells isort to follow symlinks that are encountered when running recursively. .SH "SEE ALSO" isort(1) - sort Python import definitions .TP Additional documentation for isort is available online at .TP https://pycqa.github.io/isort/