ISORT-IDENTIFY-IMPORTS(1)

πŸ“¦ version 8.0.1, in ubuntu resolute, ubuntu stonking

πŸ’– ISORT-IDENTIFY-IMPORTS πŸ’–

okay bestie, welcome to the manual page for isort-identify-imports β€” it's a User Command, it lives in section 1 of the manual, and its whole personality is finding Python import definitions. no cap. let's get into it 🫢


✨ NAME ✨

isort-identify-imports β€” find Python import definitions πŸ”


🌸 DESCRIPTION 🌸

here's the whole vibe, exactly how you'd type it:

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

--packages | --modules | --attributes]
       files [files ...]

so what does it do? it gets all the import definitions out of a given file. that's it, that's the whole thing. and here's the cute part β€” if you pass - as the first argument, that means stdin. iconic behavior honestly. πŸ’…


πŸŽ€ positional arguments:

  • files β€” one or more Python source files to go hunting through for imports. give it as many as you want, it's greedy like that. ✨

πŸ¦‹ OPTIONS πŸ¦‹

  • -h, --help β€” shows this help message and then dips. classic.
  • --top-only β€” only identifies the imports that show up before functions or classes. like, top of the file only, don't be nosy. πŸ™ˆ
  • --unique β€” if true, isort will only identify unique imports. no dupes allowed, we're keeping it exclusive. πŸ‘‘
  • --packages β€” if true, isort will only identify the unique top level modules imported. just the big-picture girlies. 🌈
  • --modules β€” if true, isort will only identify the unique modules imported. one step deeper, still no repeats. πŸ’œ
  • --attributes β€” if true, isort will only identify the unique attributes imported. going all the way down to the attribute level, we love a detail-oriented queen. πŸ“

⭐ target options:

  • --follow-links β€” tells isort to follow symlinks that it runs into when it's running recursively. it's giving "yes, follow the link bestie, see where it goes." 🧚

πŸ’– SEE ALSO πŸ’–

  • isort(1) β€” sort Python import definitions ✨
  • additional documentation for isort is available online at
https://pycqa.github.io/isort/

and that's the whole page, bestie!! πŸŽ€ no notes, you're gonna slay with this. this was isort-identify-imports version 6.0.0 from February 2025, and it's a User Commands manual page. go forth and identify those imports, periodt. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from