Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Python wrapper for GitHub API v3

branch: master

This branch is 0 commits ahead and 0 commits behind master

Merge pull request #27 from DataDog/master

Allow you to set a timeout for the Github client
latest commit 3320973379
David Medina authored
Octocat-spinner-32 docs Update events docs September 20, 2012
Octocat-spinner-32 pygithub3 Allow setting a timeout for services October 04, 2012
Octocat-spinner-32 requirements Freeze requests version September 20, 2012
Octocat-spinner-32 .gitignore add build/ to .gitignore May 27, 2012
Octocat-spinner-32 .travis.yml Add configuration file June 19, 2012
Octocat-spinner-32 AUTHORS.rst Brad to authors September 20, 2012
Octocat-spinner-32 LICENSE Pypi environment by setuptools February 03, 2012
Octocat-spinner-32 :sparkles: Release 0.4 :sparkles: June 16, 2012
Octocat-spinner-32 Makefile add Makefile April 26, 2012
Octocat-spinner-32 README.rst travis ci image September 21, 2012
Octocat-spinner-32 :sparkles: Release 0.4 :sparkles: June 16, 2012


Pygithub3 is a wrapper to the Github API v3, written in Python.

It has been developed with extensibility in mind, because the API is in a beta state, trying to achieve a very loosly coupled software.

It should be very easy to extend to support new requests and resources, because each of them are managed by itself.

Pygithub3 docs

Github API v3 docs

Fast install

pip install pygithub3

Fast example

from pygithub3 import Github

gh = Github(login='copitux', password='password')

copitux = gh.users.get()
kennethreitz = gh.users.get('kennethreitz')

copitux_repos = gh.repos.list().all()
kennethreitz_repos = gh.repos.list('kennethreitz').all()



  • Oauth authorization API (service?)
  • Proxy methods into resources (e.g copitux.followers)


  1. Fork the repository
  2. Write a test to cover new feature or to reproduce bug
  3. Code with pep8 rules
  4. Add yourself to AUTHORS
  5. Pull request it to develop branch


Run make init to install test requirements and nosetests to run tests.

Something went wrong with that request. Please try again.