Skip to main content

Python wrapper for the github v3 api

Project description

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

Achievements

TODO

  • Services: Git Data, Issues, Orgs, Pull Requests, Events
  • Oauth authorization API (service?)
  • Proxy methods into resources (e.g copitux.followers())

Contribute

  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

Project details


Release history Release notifications

History Node

0.5.1

History Node

0.5

History Node

0.4.1

History Node

0.4

This version
History Node

0.3

History Node

0.2

History Node

0.1.9

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pygithub3-0.3-py2.7.egg (93.9 kB) Copy SHA256 hash SHA256 Egg 2.7 Apr 4, 2012
pygithub3-0.3.tar.gz (22.2 kB) Copy SHA256 hash SHA256 Source None Apr 4, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page