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.4.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.4-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: uvrun-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 f52c0c1405811152708572f1149cfc84fe6ac6712699acf464aa886603448cd6
MD5 3a492a05cef0ff25fb9637ef510db8f9
BLAKE2b-256 33d0e97e835e1a65867a2ae7eee9e6c25aae6bc07dd430e55aae61f86d3a9c22

See more details on using hashes here.

Provenance

The following attestation bundles were made for uvrun-0.1.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: uvrun-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2220f46a5838f2fba481f47fac2a96debe9490c769dcaef1568cba6f4c11e7c3
MD5 3a4a169ea35438f4f91371415d3bd2bb
BLAKE2b-256 e9588ff755f29037e260099e7dea3f2185ddfc71488d601400c3b254ae8fdf6d

See more details on using hashes here.

Provenance

The following attestation bundles were made for uvrun-0.1.4-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