GIST
Command line program to upload or change/update github gists. In order to work this program needs an authorization token.
Go to https://github.com/settings/tokens to create a token. The token can then
be stored into the file ~/.local/gist_token.
Example
Upload a python program with his readme file:
% gist new -f gist.py README.md -d "Upload or update github gists."
Gist ID: c7dfade18834d095a2b2168d35234ae0
Gist URL: https://gist.github.com/0x9900/c7dfade18834d095a2b2168d35234ae0
Update the README file from and existing gist:
% gist update -f README.md --gist-id c7dfade18834d095a2b2168d35234ae0
Gist ID: c7dfade18834d095a2b2168d35234ae0
Gist URL: https://gist.github.com/0x9900/c7dfade18834d095a2b2168d35234ae0
Help:
usage: gist.py [-h] {new,update,list} ...
gist.py: error: the following arguments are required: {new,update,list}
% gist new --help
usage: gist new [-h] [-f FILE [FILE ...]] [-d DESCRIPTION] [-p]
options:
-h, --help show this help message and exit
-f FILE [FILE ...], --file FILE [FILE ...]
-d DESCRIPTION, --description DESCRIPTION
-p, --public
% gist update --help
usage: gist update [-h] -i GIST_ID [-f FILE]
options:
-h, --help show this help message and exit
-i GIST_ID, --gist-id GIST_ID
-f FILE, --file FILE
Metadata
Release files for cli-gist 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 | Provenance | Actions |
|---|---|---|---|---|
| cli_gist-0.1.1.tar.gz | 13.5 kB | Without provenance | Details for cli_gist-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cli_gist-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for cli_gist-0.1.1-py3-none-any.whl |
Total release size: 19.9 kB
Release files / cli_gist-0.1.1.tar.gz
| Download URL | cli_gist-0.1.1.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b11072afe6fdc850f8a9de6b797ed7b9161cdd12f27258344650a4160f7e6cbb
|
|
BLAKE2b-256 checksum How to use checksums |
d4d719d8228d2ce8e4478219ddce5744ff06923490051ecd434ef27e9dbb86e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / cli_gist-0.1.1-py3-none-any.whl
| Download URL | cli_gist-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b03da5fec2b5bb894bc323d13440520f9f4b01058279fbd96e8d6509fb9de35
|
|
BLAKE2b-256 checksum How to use checksums |
a01a209aa1c70d7c4daea2a26baee6b487efab6f90feda330cca654d24aafda8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for cli-gist 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.