Sort uv's dependencies alphabetically
Project description
uv-sort
Sort uv's dependencies alphabetically.
The following sections are supported:
dependency-groupsproject.dependenciesproject.optional-dependenciestool.uv.dev-dependenciestool.uv.sources
Installation
pip install uv-sort
# or
uv add uv-sort
Usage
# sort dependencies in pyproject.toml in the current working directory
$ uv-sort
# or you can specify the path
$ uv-sort /path/to/pyproject.toml
Options
--check: Check if dependencies are sorted and exit with a non-zero status code when they are not.--dry-run: Output the modified file to stdout without modifying the file.
With pre-commit
repos:
- repo: https://github.com/ninoseki/uv-sort
rev: "" # Use the sha / tag you want to point at
hooks:
- id: uv-sort
With Lefthook
pre-commit:
commands:
uv-sort:
run: uv-sort {staged_files}
glob: "pyproject.toml"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uv_sort-0.7.0.tar.gz.
File metadata
- Download URL: uv_sort-0.7.0.tar.gz
- Upload date:
- Size: 22.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bce0f840fac8e44a287cba4c9113efc33d6938d0e983984370ad2974f5f8a450
|
|
| MD5 |
590b8c9af2c54171bf220061a7414bac
|
|
| BLAKE2b-256 |
edc8ace6136cf5983822ad69c301e155c84d1876cce48e728731279d195ad26d
|
Provenance
The following attestation bundles were made for uv_sort-0.7.0.tar.gz:
Publisher:
publish.yml on ninoseki/uv-sort
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uv_sort-0.7.0.tar.gz -
Subject digest:
bce0f840fac8e44a287cba4c9113efc33d6938d0e983984370ad2974f5f8a450 - Sigstore transparency entry: 799115704
- Sigstore integration time:
-
Permalink:
ninoseki/uv-sort@5e14070c00cc89e11342127e1bafbe65a1610510 -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/ninoseki
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5e14070c00cc89e11342127e1bafbe65a1610510 -
Trigger Event:
release
-
Statement type:
File details
Details for the file uv_sort-0.7.0-py3-none-any.whl.
File metadata
- Download URL: uv_sort-0.7.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efb88531ac848668b00f3ac53bae49ce8d3712743ef9dcd86f4d3f3dd5cc55b6
|
|
| MD5 |
3b8aeb3a806954ebf531539f250e3fa6
|
|
| BLAKE2b-256 |
6653a1a51c94f671f41d441532ee791c25d22f92df7dc76aac2b0697b558e286
|
Provenance
The following attestation bundles were made for uv_sort-0.7.0-py3-none-any.whl:
Publisher:
publish.yml on ninoseki/uv-sort
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uv_sort-0.7.0-py3-none-any.whl -
Subject digest:
efb88531ac848668b00f3ac53bae49ce8d3712743ef9dcd86f4d3f3dd5cc55b6 - Sigstore transparency entry: 799115706
- Sigstore integration time:
-
Permalink:
ninoseki/uv-sort@5e14070c00cc89e11342127e1bafbe65a1610510 -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/ninoseki
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5e14070c00cc89e11342127e1bafbe65a1610510 -
Trigger Event:
release
-
Statement type: