Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Python library implementing the GitHub API v3

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
doc
github
.gitignore
.travis.yml
COPYING
COPYING.LESSER
Contributing.rst
README.rst
manage.sh
python25-requirements.txt
setup.py

README.rst

This is a Python (2 and 3) library to access the Github API v3. With it, you can manage your Github resources (repositories, user profiles, organizations, etc.) from Python scripts.

It covers the full API, and all methods are tested against the real Github site.

Should you have any question, any remark, or if you find a bug, or if there is something you can do with the API but not with PyGithub, please open an issue.

PyGithub is stable. I will maintain it up to date with the API, and fix bugs if any, but I don't plan new heavy developments.

What's new?

Version 1.14.0 (April 22nd, 2013)

  • Improve gist edition. Thank you jasonwiener for asking: * Delete a file with gist.edit(files={"name.txt": None}) * Rename a file with gist.edit(files={"old_name.txt": github.InputFileContent(gist.files["old_name.txt"].content, new_name="new_name.txt")})
  • Raise specific exceptions. Thank you pconrad for giving me the idea

Documentation

All the documentation is here: http://jacquev6.github.com/PyGithub.

Something went wrong with that request. Please try again.