Skip to main content

Update pyproject.toml dependency constraints using versions resolved by uv.

Project description

Rust uv CI Docs Publish Release License: MIT

uv-align

uv-align is a command-line tool that helps you keep your Python dependencies in sync between pyproject.toml and uv.lock. It checks for out-of-sync dependencies and can update version constraints in pyproject.toml accordingly.

It is intended to be used with Python projects that are managed with uv. When executing uv lock --upgrade, uv updates uv.lock with the latest resolved dependecies, but it does not update the version constraints in pyproject.toml accordingly. uv-align bridges this gap by checking for out-of-sync dependencies and updating the version constraints in pyproject.toml to match the resolved versions in uv.lock.

Table of Contents

Quick Guide

uv-align -h      # Show help message
uv-align --check # Check for out-of-sync dependencies between `pyproject.toml` and `uv.lock`
uv-align -y      # Update any out-of-sync version constraints in `pyproject.toml`
uv-align -yu     # Upgrade dependencies and update version constraints in `pyproject.toml`

Example output:

Example Usage

Usage

Update dependency constraints using versions resolved by `uv`

Usage: uv-align [OPTIONS] [PATH]

Arguments:
  [PATH]  Path to folder containing `pyproject.toml` and `uv.lock` files [default: .]

Options:
      --check    Show a diff of dependency updates without applying them
  -y, --yes      Automatically apply all changes without prompting
  -u, --upgrade  Upgrade dependencies in `uv.lock` with `uv`
  -h, --help     Print help

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

uv_align-0.1.0-py3-none-win_amd64.whl (555.3 kB view details)

Uploaded Python 3Windows x86-64

uv_align-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (747.8 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

uv_align-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (731.8 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

uv_align-0.1.0-py3-none-macosx_11_0_arm64.whl (686.2 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

uv_align-0.1.0-py3-none-macosx_10_12_x86_64.whl (702.1 kB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file uv_align-0.1.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: uv_align-0.1.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 555.3 kB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for uv_align-0.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5181473c39f1a130b776f15bc3293980b5850626461b26b31f06f6e6394e5ade
MD5 6ca3be5a987b0da77fb31a9037079794
BLAKE2b-256 a2fb05642b1ec7a9399d336b18cc649c7ee0f554a4faeca983aaff9443f5b4ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for uv_align-0.1.0-py3-none-win_amd64.whl:

Publisher: publish.yml on javidahmed64592/uv-align

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uv_align-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for uv_align-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d49837f8a129f76e8c9edef24374f2525b7b42fd6df2a3041f0bc098b9f92178
MD5 4c765616b0fd2a6438b76504c860c7a9
BLAKE2b-256 ffad84c500bb8dfb4b56119b9aba2ebb27ae673d1be547e994a2ec5e4f4d5e11

See more details on using hashes here.

Provenance

The following attestation bundles were made for uv_align-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on javidahmed64592/uv-align

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uv_align-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for uv_align-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cbef0302e0be7e8b47c5d4f6fe57d1644770327ff61a3bd663fcbc543990c460
MD5 619b09bd46f94a1aa4243f56d8861c92
BLAKE2b-256 6d9f4f0b4c0883dfb1f2bde679c0910617335afba5e424690f4b0d9db96e07e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for uv_align-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish.yml on javidahmed64592/uv-align

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uv_align-0.1.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for uv_align-0.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 899d35c1e24e3091ac2d93c8fd9311a6096fda5638e0aae2915b9320c3d39152
MD5 fe58f6059109aed45c48c0e86aaa3c63
BLAKE2b-256 7e07cc0a99140234182507d0bf52b04ee12fc040c09e2ae597e59c3e08696634

See more details on using hashes here.

Provenance

The following attestation bundles were made for uv_align-0.1.0-py3-none-macosx_11_0_arm64.whl:

Publisher: publish.yml on javidahmed64592/uv-align

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uv_align-0.1.0-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for uv_align-0.1.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fe1413c2b70c98b275a8a38569328f32366ff639578f9cdfabc48f0c0cd2c39c
MD5 e16e052206005c781a0c93f42b5fdaba
BLAKE2b-256 5fd3312f074114eebdef9ba82585c7277e255f4846516dcd92ec3f3485488ef5

See more details on using hashes here.

Provenance

The following attestation bundles were made for uv_align-0.1.0-py3-none-macosx_10_12_x86_64.whl:

Publisher: publish.yml on javidahmed64592/uv-align

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page