ghx
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)
Metadata
Release files for ghx 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ghx-0.1.1.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ghx-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / ghx-0.1.1.tar.gz
| Download URL | ghx-0.1.1.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0aeedff46d7e17e54baa4b36fcc5e9470ac0fb6ad00ad402cd4bd5f924fc3aae
|
|
BLAKE2b-256 checksum How to use checksums |
2587c5572f0d491cb1931d2c3a82145e73e42e30fccdaba31c70de8c9940b146
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Release files / ghx-0.1.1-py3-none-any.whl
| Download URL | ghx-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8cc8e1a0f074a270b31776abe81caaebf32f608fbf8720def45da44eca34031c
|
|
BLAKE2b-256 checksum How to use checksums |
853afed515e7c1895823efde2d351b04ff4ae0d6717e895656f9c937b71b631b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|