Pygist is a project mainly written in Python, it's free.
tiny gist create script
pygist
setup:
You should set github API token.
github => Account Settings => Administrative Information
$ git config --global github.user Username
$ git config --global github.token API Token
usage: python pygist.py [filename ...] or ln -s /path/to/pygist.py /usr/local/bin/gist gist [filename ...]