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.
Version 1.14.2 (April 25th, 2013)
Version 1.14.1 (April 25th, 2013)
- Set the default User-Agent header to "PyGithub/Python". (Github has enforced the User Agent header yesterday.) Thank you jjh42 for the fix, thank you jasenmh and pconrad for reporting the issue.
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")})
- Delete a file with
- Raise specific exceptions. Thank you pconrad for giving me the idea
All the documentation is here: http://jacquev6.github.com/PyGithub.