Python wrapper for Gist API
Project description
GistAPI.py
This is a Python wrapper for GitHub’s Gist API.
http://develop.github.com/p/gist.html
Example Usage
from gistapi import Gist, Gists gist = Gist('d4507e882a07ac6f9f92') gist.description # 'Example Gist for gist.py' gist.created_at # '2010/05/16 10:51:15 -0700' gist.public # False gist.filenames # ['exampleEmptyFile', 'exampleFile'] gist.files # {'exampleFile': 'Example file content.', 'exampleEmptyFile': ''} Gists.fetch_by_user('kennethreitz')[-1].description # 'My .bashrc configuration'
Installation
pip install gistapi
Or, if you must:
easy_install gistapi
Roadmap
- Implement Gist API methods as they are introduced
Token based Authentication
Listing your private Gists
Create a new Gist
Fork a Gist
Delete a Gist
Edit a Gist
- Possibly use other hacks in the meantime
Gist’s New Gist method? (Post to web form?)
Possibly add command line gist interface
History
0.2.0 (2010-08-28)
Support for Add, Rename, Modify, and Delete of Files!
Proper Unicode Support
Proper DateTime Support
Improved Caching
Urllib2 Support
PEP 008/257 Compliance
Secret .pibb URL Attribute for gists :)
Misc. Refactors
0.1.4 (2010-08-18)
Python 2.5 fix
0.1.3 (2010-06-14)
Nose-test fix
0.1.2 (2010-05-16)
URL Generation BugFix
Updated versioning
Metadata refactoring
General Bugfixes
0.1.1 (2010-05-16)
PyPi Compatibility Changes
Documentation Updates
Added DocTests
0.1.0 (2010-05-16)
Initial Release
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.