µsort

Safe Python import sorting

Star

Navigation

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

  • 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)
  • collapse_blank_lines_in_category (usort.Config attribute)
  • Config (class in usort)
  • content (usort.Result attribute)

D

  • default_category
    • (usort.Config attribute)

E

  • enable_libcst_native() (in module usort.util)
  • 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

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

O

  • output (usort.Result attribute)

P

  • path (usort.Result attribute)
  • preserve_inline_comments
    • (usort.Config 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.util
    • module
  • 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)
©2026 Meta Platforms, Inc..