Skip to main content

Detect how uv was installed and get upgrade instructions

Project description

uvhow

Detect how uv was installed and get upgrade instructions.

Usage

Run with uvx (recommended):

uvx uvhow

Or install and run:

uv add uvhow
uvhow

Example Output

🔍 uv installation detected

✅ Found uv: uv 0.8.0 (0b2357294 2025-07-17)
📍 Location: /Users/user/.local/bin/uv

🎯 Installation method: Standalone installer
💡 To upgrade: uv self update

Supported Installation Methods

  • Standalone installer (~/.local/bin/uv) -> uv self update
  • Cargo (~/.cargo/bin/uv) -> cargo install --git https://github.com/astral-sh/uv uv --force
  • Homebrew (/opt/homebrew/bin/uv) -> brew upgrade uv
  • pipx (~/.local/share/pipx/venvs/uv/bin/uv) -> pipx upgrade uv
  • pip (virtual environment) -> pip install --upgrade uv
  • pip (system) -> sudo pip install --upgrade uv
  • pip (user) -> pip install --upgrade --user uv

Programmatic Usage

from uvhow import detect_uv_installation

installation = detect_uv_installation()
if installation:
    print(f"Method: {installation.method}")
    print(f"Upgrade: {installation.upgrade_command}")

Project details


Download files

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

Source Distribution

uvhow-0.1.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

uvhow-0.1.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file uvhow-0.1.2.tar.gz.

File metadata

  • Download URL: uvhow-0.1.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for uvhow-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4e42554c0fd5eb04ff6ebd0b8cb30b8eec8785c9914c11bfe0635d34615c806c
MD5 22655da2c1b3735841bd8d499b2ff294
BLAKE2b-256 18c33894407c16005ee3422089d9ac6aa503da3f3f0ad1d8cd0aae6cdfc2809e

See more details on using hashes here.

Provenance

The following attestation bundles were made for uvhow-0.1.2.tar.gz:

Publisher: publish.yml on python-developer-tooling-handbook/uvhow

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

File details

Details for the file uvhow-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: uvhow-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for uvhow-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1b9ae552c74d99e87e694358582a61c886272cf81bca22bd344134349c745c5a
MD5 71cfbd8227bd2e6719c746fde0aff3d5
BLAKE2b-256 b23e8775d24d041706551162a7b48fbf77ba7ef601a8eb58bb64343ec2cf71e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for uvhow-0.1.2-py3-none-any.whl:

Publisher: publish.yml on python-developer-tooling-handbook/uvhow

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