Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 6dfa63bfa5
Fetching contributors…

Cannot retrieve contributors at this time

63 lines (43 sloc) 1.6 KB


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()



  • Services: Git Data, Issues, Orgs, Pull Requests, Events
  • 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 you to AUTHORS
  5. Pull request it

Note: I use nose test environment, with mock pip install nose mock

Jump to Line
Something went wrong with that request. Please try again.