Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A Python command-line wrapper with library to access GitHub Gist

Project Description

A Python command-line wrapper with library to access GitHub Gist.


You can install with pip:

pip install pgist -U

Or with easy_install:

easy_install -U pgist


To upload the contents of just:


Or you can accept stdin as a file like this:

pgist -

type ctrl+D to end stdin and ctrl+C to abort.

Upload multiple files:

pgist a b c

Use -p to make the gist private:

pgist -p

Use -d to add a description:

pgist -d "Say something"

You can update existing gists with -u:

pgist -u 2c93e03266634cd6e273

List your public gists:

pgist -l

And list all gists including private ones:

pgist -l -A

See pgist --help for more detail.


If you want to associate your gists with your GitHub account, you need to login with pgist. It doesn’t store your username and password, it just uses them to get an OAuth2 token (with the “gist” permission).

pgist --login
GitHub username(default is xxxxx): douglarek
GitHub password for douglarek:
Done ...

After you’ve done this, you can still upload gists anonymously with -a:

pgist -a



Licensed under the Apache 2.0 license. Bug-reports, and pull requests are welcome.

Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pgist-0.4.3-py2.py3-none-any.whl (14.2 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Dec 28, 2014
pgist-0.4.3.tar.gz (8.9 kB) Copy SHA256 Checksum SHA256 Source Dec 28, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting