Display Python version, executable path, and script path when run with uv
Project description
whoruv
English | 日本語
Overview
A package that displays the following information when installed and executed with Astral's uv using uvx or uv tool install:
- Python version
- Python executable path
- Script path
Created to understand the effects of uv's --python option.
Usage Examples
Basic Usage
$ uvx whoruv
Installed 1 package in 3ms
Python Version: 3.12.12 (main, Oct 28 2025, 12:10:49) [Clang 20.1.4 ]
Executable Path: /home/user1/.cache/uv/archive-v0/VEm-1_LGBHubU7SZHYbs2/bin/python
Script Path: /home/user1/.cache/uv/archive-v0/VEm-1_LGBHubU7SZHYbs2/lib/python3.12/site-packages/whoruv/whoruv.py
$ uvx --python 3.10 whoruv
Installed 1 package in 3ms
Python Version: 3.10.12 (main, Aug 15 2025, 14:32:43) [GCC 11.4.0]
Executable Path: /home/user1/.cache/uv/archive-v0/Vcsgj4kD85VznE7HmFNsb/bin/python
Script Path: /home/user1/.cache/uv/archive-v0/Vcsgj4kD85VznE7HmFNsb/lib/python3.10/site-packages/whoruv/whoruv.py
$ uv tool install whoruv && whoruv
Resolved 1 package in 1ms
Installed 1 package in 3ms
+ whoruv==0.0.1
Installed 1 executable: whoruv
Python Version: 3.12.12 (main, Oct 28 2025, 12:10:49) [Clang 20.1.4 ]
Executable Path: /home/user1/.local/share/uv/tools/whoruv/bin/python
Script Path: /home/user1/.local/share/uv/tools/whoruv/lib/python3.12/site-packages/whoruv/whoruv.py
$ uv tool install --python 3.10 whoruv && whoruv
Ignoring existing environment for `whoruv`: the requested Python interpreter does not match the environment interpreter
Resolved 1 package in 1ms
Installed 1 package in 4ms
+ whoruv==0.0.1
Installed 1 executable: whoruv
Python Version: 3.10.12 (main, Aug 15 2025, 14:32:43) [GCC 11.4.0]
Executable Path: /home/user1/.local/share/uv/tools/whoruv/bin/python
Script Path: /home/user1/.local/share/uv/tools/whoruv/lib/python3.10/site-packages/whoruv/whoruv.py
Command Line Options
$ whoruv --help
usage: whoruv [-h] [-V]
Display Python version, executable path, and script path
options:
-h, --help show this help message and exit
-V, --version show program's version number and exit
$ whoruv --version
whoruv v0.0.1
Development
Setup
uv sync
Task Execution
# Run tests
poe test
# Lint and format
poe check
poe format
# Type check
poe mypy
# Run all checks & build & smoke test
poe build
Development Requirements
- Python >= 3.12
- uv
License
MIT
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 whoruv-0.0.6.tar.gz.
File metadata
- Download URL: whoruv-0.0.6.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e7004a81acc191c9f2361d9f5ab5d7254a6b1da48c01be41dce5d068d226679
|
|
| MD5 |
98b9e3bfa3f517337b973f7c6cf65ae4
|
|
| BLAKE2b-256 |
032580bf59d855c7a5fba2e99d899cf79c833bc1f1893318233300bdbc28d1ce
|
Provenance
The following attestation bundles were made for whoruv-0.0.6.tar.gz:
Publisher:
publish-pypi.yml on heiwa4126/whoruv
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
whoruv-0.0.6.tar.gz -
Subject digest:
8e7004a81acc191c9f2361d9f5ab5d7254a6b1da48c01be41dce5d068d226679 - Sigstore transparency entry: 709751288
- Sigstore integration time:
-
Permalink:
heiwa4126/whoruv@36a08ba5977302b9f5f6efc485048c46648152db -
Branch / Tag:
refs/tags/v0.0.6 - Owner: https://github.com/heiwa4126
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@36a08ba5977302b9f5f6efc485048c46648152db -
Trigger Event:
push
-
Statement type:
File details
Details for the file whoruv-0.0.6-py3-none-any.whl.
File metadata
- Download URL: whoruv-0.0.6-py3-none-any.whl
- Upload date:
- Size: 4.2 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 |
696de58edd51917144093022fa624ce0c08f4a88acffdf35297fb2aab83884cb
|
|
| MD5 |
0eecc1eca17060a79a0fb2b3ba7f0b79
|
|
| BLAKE2b-256 |
8ccf66bb1e52649acd5675a43339eda38d4f98a2b3b443b34eff085ea600f3bd
|
Provenance
The following attestation bundles were made for whoruv-0.0.6-py3-none-any.whl:
Publisher:
publish-pypi.yml on heiwa4126/whoruv
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
whoruv-0.0.6-py3-none-any.whl -
Subject digest:
696de58edd51917144093022fa624ce0c08f4a88acffdf35297fb2aab83884cb - Sigstore transparency entry: 709751291
- Sigstore integration time:
-
Permalink:
heiwa4126/whoruv@36a08ba5977302b9f5f6efc485048c46648152db -
Branch / Tag:
refs/tags/v0.0.6 - Owner: https://github.com/heiwa4126
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@36a08ba5977302b9f5f6efc485048c46648152db -
Trigger Event:
push
-
Statement type: