Today I released GistAPI.py v0.1.2. It features a highly-optimized Gist object model and API wrapper which allows you to consume Gists in your next Python application.
GitHub just rolled out a miniature pre-release of the [Gist API](http://develop.github.com/p/gist.html) last month, so API functionality is pretty limited at the moment. More features will be added as soon as the API is updated.
## Usage
from gistapi import *
gist = Gist('d4507e882a07ac6f9f92')
gist.description # 'Example Gist for gist.py'gist.created_at # '2010/05/16 10:51:15 -0700'gist.public # Falsegist.filenames # ['exampleEmptyFile', 'exampleFile']gist.files['exampleFile'] # 'Example file content.'
[Source on GitHub](http://github.com/kennethreitz/gistapi.py/)
Related Reading
ShowMe v1.0.0 Released
This weekend, I released a new Python module to PyPi: ShowMe v1.0.0.ShowMe is a simple set of function decorators that give you easy diagnose common problems in your Python applications.
### Basic Usage
@showme.tracedef complex_function(a, b, c, **kwargs):....
>>> complex_function('alpha', ...
If I Could Amend PEP 8
View fullsize PEP 8 is an excellent coding standard for the Python community, and one of its greatest strengths. There are a few things in it that I dislike, however — so I thought I'd share them with you here.
If you look at the Requests documentation, I have made a few personal amendments to PE...
Terminal Productivity App: AutoJump
On average, I'd say I spend 65% of the workday in a terminal session. About 95% of that time is within the same same 4 directories. `cd foo` & `cd bar` can get old.**AutoJump** is a "cd command that learns". It tracks shell history to detect which directories you spend the most time in...