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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e42554c0fd5eb04ff6ebd0b8cb30b8eec8785c9914c11bfe0635d34615c806c
|
|
| MD5 |
22655da2c1b3735841bd8d499b2ff294
|
|
| BLAKE2b-256 |
18c33894407c16005ee3422089d9ac6aa503da3f3f0ad1d8cd0aae6cdfc2809e
|
Provenance
The following attestation bundles were made for uvhow-0.1.2.tar.gz:
Publisher:
publish.yml on python-developer-tooling-handbook/uvhow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uvhow-0.1.2.tar.gz -
Subject digest:
4e42554c0fd5eb04ff6ebd0b8cb30b8eec8785c9914c11bfe0635d34615c806c - Sigstore transparency entry: 301899461
- Sigstore integration time:
-
Permalink:
python-developer-tooling-handbook/uvhow@eaef2e31e24e95aa36d084c2be10995d086ec71f -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/python-developer-tooling-handbook
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@eaef2e31e24e95aa36d084c2be10995d086ec71f -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b9ae552c74d99e87e694358582a61c886272cf81bca22bd344134349c745c5a
|
|
| MD5 |
71cfbd8227bd2e6719c746fde0aff3d5
|
|
| BLAKE2b-256 |
b23e8775d24d041706551162a7b48fbf77ba7ef601a8eb58bb64343ec2cf71e4
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uvhow-0.1.2-py3-none-any.whl -
Subject digest:
1b9ae552c74d99e87e694358582a61c886272cf81bca22bd344134349c745c5a - Sigstore transparency entry: 301899478
- Sigstore integration time:
-
Permalink:
python-developer-tooling-handbook/uvhow@eaef2e31e24e95aa36d084c2be10995d086ec71f -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/python-developer-tooling-handbook
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@eaef2e31e24e95aa36d084c2be10995d086ec71f -
Trigger Event:
push
-
Statement type: