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
because each of them are managed by itself.
pip install pygithub3
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()
- The core
- Users service
- Repos service
- Gists service
- Git Data service
- Pull requests service
- Orgs service
- Issues service
- Services: Events
- Oauth authorization API (service?)
- Proxy methods into resources (e.g copitux.followers)
- Fork the repository
- Write a test to cover new feature or to reproduce bug
- Code with pep8 rules
- Add yourself to
- Pull request it to
make init to install test requirements and
nosetests to run tests.