python-github2 is an experimental Python library implementing all of the features available in version 2 of the Github API.
Note: This software is not finished. And is likely to change in the near future.
You can install python-github2 either via the Python Package Index (PyPI) or from source.
To install using pip,:
$ pip install python-github2
To install using easy_install,:
$ easy_install python-github2
If you have downloaded a source tarball you can install it by doing the following,:
$ python setup.py build
# python setup.py install # as root
Creating a request
>>> from github.client import Github
>>> github = Github(username="ask", api_token=".......")