Usort

Latest version: v1.0.8.post1

Safety actively analyzes 714815 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

1.0.0b1

Beta release

* Deprecation: `usort_bytes()` and `usort_string()` replaced by `usort()` (88)
* Improved documentation in user guide for sorting, merging, comments, and associations (91)
* Fixed bug when merging imports and subsequent blocks (86)
* Fixed output of basic imports that exceed line length (87)

shell-session
$ git shortlog -sn v1.0.0a1...
28 Amethyst Reese
13 dependabot[bot]
3 Jason Fried

1.0.0a1

Alpha release

* New feature: sorting items in a single import statement (81)
* New feature: merging imports from the same module (81)
* Improved performance by sorting multiple files in parallel (70)
* Officially support Python 3.10 (74)

shell-session
$ git shortlog -sn v0.6.4...
62 Amethyst Reese
7 Tim Hatch
5 dependabot[bot]

0.6.4

Bugfix release

* Fix incomplete stdlib detection by using "stdlibs" from pypi (56)

shell-session
$ git shortlog -sn v0.6.3...
1 Amethyst Reese
1 Tim Hatch

0.6.3

Bugfix release

* Enforce blank lines before comments within a category (50)
* Fix config finding with relative paths (43, 53)
* Correctly handle encodings in LibCST (46, 54)
* Sort usort with usort (51)
* Officially support Python 3.9 (50)

shell-session
$ git shortlog -sn v0.6.2...
11 Tim Hatch
3 Amethyst Reese

0.6.2

Minor release

* Option to disable first-party heuristic (47)

shell-session
$ git shortlog -sn v0.6.1...
1 Amethyst Reese
1 Tim Hatch

0.6.1

Minor release

* Improve error messages, especially for parsing errors (45)

shell-session
$ git shortlog -sn v0.6.0...
7 Amethyst Reese
1 Tim Hatch

Page 3 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.