Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Run scripts from Github on the fly

Project description

Run scripts from GitHub, npx-style.

Usage

ghx rshk/ghx-example

In its most basic form, it will make a shallow copy of the specified GitHub repository and run a script from it.

By default, it will look for an executable named bin/run inside the repo folder.

Run a different script:

ghx rshk/ghx-example/bin/two

Or from a different branch:

ghx -b foobar rshk/ghx-example

Installation

You need a Python 3 interpreter and pip installed.

pip install ghx

Or install in the user home directory (usually ~/.local):

pip install --user ghx

(Make sure you have ~/.local/bin in your PATH)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ghx, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size ghx-0.1.1-py3-none-any.whl (3.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size ghx-0.1.1.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page