Run Python scripts with inline metadata directly from URLs
Project description
uvrun
Run Python scripts with inline metadata directly from URLs. This simple tool integrates with uv to provide a seamless experience for running Python scripts from GitHub repositories.
Features
- Run Python scripts directly from GitHub repositories
- Manage multiple script repositories
- Smart script discovery with inline metadata
- Pass arguments directly to scripts and uv
- List available scripts with a nice directory structure
Installation
pip install uvrun
Usage
Add a repository:
uvrun --add https://github.com/username/repo
List available scripts:
uvrun --list
Run a script:
uvrun script_name arg1 arg2
(Note: both script_name and script_name.py are valid)
With specific Python version:
uvrun script_name --uv-args "--refresh"
Script Metadata
To make a script discoverable by uvrun, add the following inline metadata at the top of the file:
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "flask>=2.0.0",
# "requests>=2.31.0",
# ]
# ///
License
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 uvrun-0.1.5.tar.gz.
File metadata
- Download URL: uvrun-0.1.5.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29e884df51b276e480d8055d261da42809d88ea68e831d4a14fe7efc05176f7f
|
|
| MD5 |
a6318186c0fef14c7f4e3fef8c722ea2
|
|
| BLAKE2b-256 |
4b0a294fef565b89b1e8a2f2f6238d51a8424eaa04cfcf6d5ae609e1e7030c93
|
Provenance
The following attestation bundles were made for uvrun-0.1.5.tar.gz:
Publisher:
publish.yml on SimonB97/uvrun
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uvrun-0.1.5.tar.gz -
Subject digest:
29e884df51b276e480d8055d261da42809d88ea68e831d4a14fe7efc05176f7f - Sigstore transparency entry: 163949622
- Sigstore integration time:
-
Permalink:
SimonB97/uvrun@b227a121412cc9f7a95b42b6192debe2dbcf5b37 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/SimonB97
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b227a121412cc9f7a95b42b6192debe2dbcf5b37 -
Trigger Event:
push
-
Statement type:
File details
Details for the file uvrun-0.1.5-py3-none-any.whl.
File metadata
- Download URL: uvrun-0.1.5-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c2f0e5cadc6e0f89560d2d2ea87e812c8a178693a1ab97e9bb57be77493a8b8
|
|
| MD5 |
3873fb49e0813d5f0c6c7be60922e4b4
|
|
| BLAKE2b-256 |
c2a02c9d26c37a166bc30acf2106e5087a7728851742cfb9b8eb62cb2a0a9c2f
|
Provenance
The following attestation bundles were made for uvrun-0.1.5-py3-none-any.whl:
Publisher:
publish.yml on SimonB97/uvrun
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uvrun-0.1.5-py3-none-any.whl -
Subject digest:
4c2f0e5cadc6e0f89560d2d2ea87e812c8a178693a1ab97e9bb57be77493a8b8 - Sigstore transparency entry: 163949624
- Sigstore integration time:
-
Permalink:
SimonB97/uvrun@b227a121412cc9f7a95b42b6192debe2dbcf5b37 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/SimonB97
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b227a121412cc9f7a95b42b6192debe2dbcf5b37 -
Trigger Event:
push
-
Statement type: