Pyprojectsort

Latest version: v0.4.0

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

Scan your dependencies

0.4.0

Added

- Python 3.12 and 3.13 support - [70](https://github.com/kieran-ryan/pyprojectsort/pull/70)

Fixed

- Allow tomli-w above v1.0.0 - [75](https://github.com/kieran-ryan/pyprojectsort/pull/75)

0.3.0

Added

- Command line option to render diff of changes - [16](https://github.com/kieran-ryan/pyprojectsort/issues/16)
- Official support for Python 3.7 to 3.11 - [14](https://github.com/kieran-ryan/pyprojectsort/issues/14)

Changed

- Format mixed data types in an array - [39](https://github.com/kieran-ryan/pyprojectsort/issues/39)
- Natural sort of string based numbers - [52](https://github.com/kieran-ryan/pyprojectsort/pull/52)

0.2.2

Added

- Pre-commit git hook support - [13](https://github.com/kieran-ryan/pyprojectsort/issues/13)

Fixes

- Write changes when values are the same but formatting required - [34](https://github.com/kieran-ryan/pyprojectsort/issues/34)

0.2.1

Deprecated

- Key normalisation, which can affect tools that expect a particular format - [27](https://github.com/kieran-ryan/pyprojectsort/issues/27)

0.2.0

Added

- Support to check whether file would be reformatted without writing changes - [10](https://github.com/kieran-ryan/pyprojectsort/issues/10)
- Support to specify the pyproject.toml path - [9](https://github.com/kieran-ryan/pyprojectsort/issues/9)

Changes

- Alphabetically sort section keys - [5](https://github.com/kieran-ryan/pyprojectsort/issues/5)
- Alphabetically sort list key values - [7](https://github.com/kieran-ryan/pyprojectsort/issues/7)

Fixes

- Writes to pyproject.toml only if there are changes to made - [19](https://github.com/kieran-ryan/pyprojectsort/pull/19)

0.1.1

Changes

- Alphabetically sort pyproject.toml files by parent section name

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.