Skip to main content

Python wrapper for the github v3 api

Project description

https://secure.travis-ci.org/copitux/python-github3.png

Pygithub3

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

  • 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 yourself to AUTHORS

  5. Pull request it to develop branch

Tests

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

Project details


Download files

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

Source Distribution

pygithub33-0.6.2.tar.gz (31.0 kB view details)

Uploaded Source

File details

Details for the file pygithub33-0.6.2.tar.gz.

File metadata

  • Download URL: pygithub33-0.6.2.tar.gz
  • Upload date:
  • Size: 31.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pygithub33-0.6.2.tar.gz
Algorithm Hash digest
SHA256 13ec223e6106b7212a25f0c1553f04e958812f6283b771b35c0e574c4e9992d7
MD5 2e5d2654a75fd192983fe6dfc3b34640
BLAKE2b-256 1a5b2f365e0fa2b43faecb4448f2485b27821f69e79d8b670ef61e824941b5f5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page