Skip to main content

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_simonb97

Usage

Add a repository:

uvrun --add https://github.com/username/repo

List available scripts:

uvrun --list

Run a script:

uvrun script_name arg1 arg2

With specific Python version:

uvrun script_name --uv-args "--python 3.11"

Script Metadata

To make a script discoverable by uvrun, add the following metadata:

# /// script
# /// description: What your script does
# ///

License

MIT License

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

uvrun-0.1.3.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

uvrun-0.1.3-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file uvrun-0.1.3.tar.gz.

File metadata

  • Download URL: uvrun-0.1.3.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

Hashes for uvrun-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3174699269d9be79490195ae9294690d0d43248bc79266596d9c1a0b8a99e38f
MD5 962fd2d12c616a788a6146d8a747c42c
BLAKE2b-256 ceaa01312264700d6ae9ba6c9cbb8a43701cc3f2d687bd50293c107925ad8e96

See more details on using hashes here.

Provenance

The following attestation bundles were made for uvrun-0.1.3.tar.gz:

Publisher: publish.yml on SimonB97/uvrun

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

File details

Details for the file uvrun-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: uvrun-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for uvrun-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 34f5a0e688f4ab7a65ee5948daff09217ec26f7172e0d8759c1f115cede48b5b
MD5 ca666194a767a87f4882030e17164125
BLAKE2b-256 0d390e1599042e22c5651438e6751de2a223675101469fb561df42c21d6c9254

See more details on using hashes here.

Provenance

The following attestation bundles were made for uvrun-0.1.3-py3-none-any.whl:

Publisher: publish.yml on SimonB97/uvrun

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