Skip to content
This repository

Python library implementing the full Github API v3

This branch is 0 commits ahead and 2 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 doc Publish version 1.24.1 March 16, 2014
Octocat-spinner-32 github Fix urlencoding for search (see #237) March 16, 2014
Octocat-spinner-32 scripts Merge branch 'pr224' March 02, 2014
Octocat-spinner-32 .gitignore Fix doc (#224) March 02, 2014
Octocat-spinner-32 .travis.yml Remove Python 2.5 which seems broken on Travis December 15, 2013
Octocat-spinner-32 COPYING Add a copyright and license notice (issue #16) June 03, 2012
Octocat-spinner-32 COPYING.LESSER Add a copyright and license notice (issue #16) June 03, 2012
Octocat-spinner-32 Contributing.rst Improve documentation February 16, 2013
Octocat-spinner-32 README.rst
Octocat-spinner-32 manage.sh Fix doc (#224) March 02, 2014
Octocat-spinner-32 python25-requirements.txt dos2unix March 14, 2013
Octocat-spinner-32 setup.py Publish version 1.24.1 March 16, 2014
README.rst

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

It covers almost the full API (see "What's missing" bellow), 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 1.x.x is stable and I don't plan to spend time adding missing functionalities. I still accept you pull requests. Here is the references documentation.

I'm currently developing the version 2 of PyGithub. Here is the documentation, including a migration planning.

What's new?

Version 2.0.0-alpha.1 (March 2nd, 2014)

This first alpha version focuses on the bases and on the interactions between users, organizations and repositories.

Please comment on those issues to help me prioritize the next developments. And do not heasitate to open an issue to discuss anything.

Version 1.24.1 (March 16th, 2014)

  • Fix urlquoting in search, thanks to cro for the pull request

Twitter

I tweet each new release. I rarely tweet, and always about software development, so you might want to follow me to stay informed.

What's missing in versions 1.x.x? Github API v3 URLs not covered by v1

  • /applications/:client_id/tokens/:access_token (GET)
  • /authorizations/clients/:client_id (PUT)
  • /feeds (GET)
  • /meta (GET)
  • /notifications (PUT)
  • /notifications/emails (GET)
  • /notifications/emails (PATCH)
  • /notifications/global/emails (GET)
  • /notifications/global/emails (PUT)
  • /notifications/organization/:org/emails (GET)
  • /notifications/organization/:org/emails (PUT)
  • /notifications/settings (GET)
  • /notifications/settings (PATCH)
  • /notifications/threads/:id (PATCH)
  • /notifications/threads/:id/subscription (DELETE)
  • /notifications/threads/:id/subscription (GET)
  • /notifications/threads/:id/subscription (PUT)
  • /repos/:owner/:repo/contents/:path (DELETE)
  • /repos/:owner/:repo/contents/:path (PUT)
  • /repos/:owner/:repo/notifications (GET)
  • /repos/:owner/:repo/notifications (PUT)
  • /repos/:owner/:repo/releases (GET)
  • /repos/:owner/:repo/releases (POST)
  • /repos/:owner/:repo/releases/:id (DELETE)
  • /repos/:owner/:repo/releases/:id (GET)
  • /repos/:owner/:repo/releases/:id (PATCH)
  • /repos/:owner/:repo/releases/:id/assets (GET)
  • /repos/:owner/:repo/releases/assets/:id (DELETE)
  • /repos/:owner/:repo/releases/assets/:id (GET)
  • /repos/:owner/:repo/releases/assets/:id (PATCH)
  • /repos/:owner/:repo/subscription (DELETE)
  • /repos/:owner/:repo/subscription (GET)
  • /repos/:owner/:repo/subscription (PUT)
Something went wrong with that request. Please try again.