µsort

Safe Python import sorting

Star

Navigation

  • Why µsort?
  • User Guide
    • Sorting
    • Merging
    • Comments
    • Import Blocks
    • Configuration
    • Troubleshooting
  • API Reference
    • Simple API
    • Advanced API
  • Versioning
  • Changelog
  • Contributing
  • Code of Conduct

  • Report Issues

Related Topics

  • Documentation overview

Quick search

Meta Open Source
 
  • Terms of Use
  • Privacy Policy

Index

C | D | E | F | I | K | L | M | O | P | R | S | T | U | W

C

  • categories
    • (usort.Config attribute)
  • category() (usort.Config method)
  • Config (class in usort)
  • content (usort.Result attribute)

D

  • default_category
    • (usort.Config attribute)

E

  • encoding (usort.Result attribute)
  • error (usort.Result attribute)
  • excludes
    • (usort.Config attribute)

F

  • find() (usort.Config class method)
  • first_party_detection
    • (usort.Config attribute)

I

  • is_side_effect_import() (usort.Config method)

K

  • known (usort.Config attribute)

L

  • line (usort.SortWarning attribute)
  • line_length (usort.Config attribute)

M

  • merge_imports
    • (usort.Config attribute)
  • message (usort.SortWarning attribute)
  • module
    • usort

O

  • output (usort.Result attribute)

P

  • path (usort.Result attribute)

R

  • Result (class in usort)

S

  • side_effect_modules
    • (usort.Config attribute)
  • side_effect_re (usort.Config attribute)
  • SortWarning (class in usort)

T

  • timings (usort.Result attribute)
  • trace (usort.Result attribute)

U

  • update_from_config() (usort.Config method)
  • usort
    • module
  • usort() (in module usort)
  • usort_file() (in module usort)
  • usort_path() (in module usort)
  • usort_stdin() (in module usort)

W

  • warnings (usort.Result attribute)
  • with_first_party() (usort.Config method)
©2025, Meta Platforms, Inc. and affiliates..