Skip to content
Python library implementing the GitHub API v3
Python Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


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.13.1 (March 28nd, 2013)

Version 1.13.0 (March 22nd, 2013)

  • Fix for Python 3 on case-insensitive file-systems. Thank you ptwobrussell for reporting
  • Expose raw data returned by Github for all objects. Thank you ptwobrussell for asking
  • Add a property Github.per_page (and a parameter to the constructor) to change the number of items requested in paginated requests. Thank you again ptwobrussell for asking
  • Implement the first part of the Notifications API. Thank you pgolm
  • Fix automated tests on Python 3.3. Thank you bkabrda for reporting


All the documentation is here:

Something went wrong with that request. Please try again.