Command line client for gist.
Project description
- Licence:
MIT
Description
Command line client for gist(API v3).
Installation
pypi:
$ pip install gistpy $ gistpy -h
Source code:
$ python setup.py install $ gistpy -h
Usage
Authorization:
$ export GISTPY_USER=username & export GISTPY_PASSWORD=password $ gistpy register $ export GISTPY_TOKEN=xxxxxxxxxxx
Get:
$ gistpy get <gistid> <destination_directory>
Create:
$ gistpy create [gistids...] # public $ gistpy create [gistids...] -d "description" $ gistpy create [gistids...] -a # as anonymous $ gistpy create [gistids...] -p # private $ echo "test" | gistpy $ echo "test" | gistpy -p # private $ echo "test" | gistpy -a # as anonymous
Edit:
$ gistpy edit <gistid> [files...]
Delete:
$ gistpy delete <gistid>
Display the help of each command.
$ gistpy <command> -h
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Gistpy-0.1.0.tar.gz
(8.2 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
Gistpy-0.1.0-py2.7.egg
(29.1 kB
view details)
Gistpy-0.1.0-py2.6.egg
(29.2 kB
view details)
File details
Details for the file Gistpy-0.1.0.tar.gz.
File metadata
- Download URL: Gistpy-0.1.0.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0008d242bf1843dc1d2061d1c4c8b99bd3273c2489da1e752d7540ef6c1e97fd
|
|
| MD5 |
7e80eeb3471e399df65099cbf9fb451b
|
|
| BLAKE2b-256 |
94e58c537bfc6a9f08505f5e98264d40a486d0a8e8162667b79b223d12441896
|
File details
Details for the file Gistpy-0.1.0-py2.7.egg.
File metadata
- Download URL: Gistpy-0.1.0-py2.7.egg
- Upload date:
- Size: 29.1 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56f61854eb3a36074b7f2103b654dd9029b42dc61c80addc60676f67d4177f22
|
|
| MD5 |
708c1386b706b14ae8af7cb4b2815d11
|
|
| BLAKE2b-256 |
dd69d451f460d1f3130a0d036e4ebae2b8429609dff9c61f9e8ed7425a3cdb8b
|
File details
Details for the file Gistpy-0.1.0-py2.6.egg.
File metadata
- Download URL: Gistpy-0.1.0-py2.6.egg
- Upload date:
- Size: 29.2 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1ce45170bde5eebebaa51d382ae887d2e23dce6594174022aada9cb3189d3ea
|
|
| MD5 |
aed7ee2166043715ab66220e274d98fe
|
|
| BLAKE2b-256 |
5e614285b4dee19b46cbfea9efab7d0cc1e8b37a64e86ec441e6ad80432a87fa
|