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.1-py3-none-win_amd64.whl (556.6 kB view details)

Uploaded Python 3Windows x86-64

uv_align-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (749.4 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

uv_align-0.1.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (733.8 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

uv_align-0.1.1-py3-none-macosx_11_0_arm64.whl (687.5 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

uv_align-0.1.1-py3-none-macosx_10_12_x86_64.whl (705.1 kB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: uv_align-0.1.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 556.6 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.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8fde18652fa4c814832a0c1ed32c19c4ddefad7ff3239a4df744755dcd44d052
MD5 c18751e24cf39b5c59dff5476cfeba01
BLAKE2b-256 634715ed215cbf74f48129b2f85e58d0d847c554bea7655fb113a0a33e5ded28

See more details on using hashes here.

Provenance

The following attestation bundles were made for uv_align-0.1.1-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.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for uv_align-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 808a4e927afbff257f092e4574fc1c996bf1c7602f9c8669692ef918f2f78da1
MD5 48b677db9a4209679deef65c98a3ef94
BLAKE2b-256 de497283ea0e5113e8577bf3df387104da356b660c6eccbc25755120789bd8a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for uv_align-0.1.1-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.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for uv_align-0.1.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6597108b6ff5622e23323bdf2a176233c4e8da528a8707a951d698f4661c676e
MD5 b51fee3c15a244e433a6cbdc1c2809e4
BLAKE2b-256 c2de12cc4fba73a234e5561378a966df750d85ee71d600d0d5cc4ad5ef68ea60

See more details on using hashes here.

Provenance

The following attestation bundles were made for uv_align-0.1.1-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.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for uv_align-0.1.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ad12dd765c19f2ff430e0cd83c1d71eac2b35bb66f245156528c801fc4883ab3
MD5 7fa8b7fc2e50d1f625378570613d1137
BLAKE2b-256 d732318587f117185e7a7f448d9bc37c5a24648530fde41894e6777911e54898

See more details on using hashes here.

Provenance

The following attestation bundles were made for uv_align-0.1.1-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.1-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for uv_align-0.1.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7b3a104ccfa65929243dec944adc60bf9a41af120b1c9016d67ba8e16f0f8c90
MD5 4cc221404c37c7dc1894ef67289d5ca9
BLAKE2b-256 c829e1057d9cac7e6da16f7193ef85a69fe2fa82425efa82ade1b3f7eb1e2340

See more details on using hashes here.

Provenance

The following attestation bundles were made for uv_align-0.1.1-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