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: 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 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

pygithub3-0.4.tar.gz (29.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygithub3-0.4-py2.7.egg (148.5 kB view details)

Uploaded Egg

File details

Details for the file pygithub3-0.4.tar.gz.

File metadata

  • Download URL: pygithub3-0.4.tar.gz
  • Upload date:
  • Size: 29.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pygithub3-0.4.tar.gz
Algorithm Hash digest
SHA256 93feaf7be80c114807acd0b75a6443b41cc5d0235e60f9dc0272b842f1342872
MD5 969341f9ca70c5ad01caaffbd346bcbd
BLAKE2b-256 ff0c51837747a9d3a322b78adc32e3ff6ae07e8c3bdf2346d7d0fdc839d51d06

See more details on using hashes here.

File details

Details for the file pygithub3-0.4-py2.7.egg.

File metadata

  • Download URL: pygithub3-0.4-py2.7.egg
  • Upload date:
  • Size: 148.5 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pygithub3-0.4-py2.7.egg
Algorithm Hash digest
SHA256 9c8e9f421378ba636e1d8c4292ad4223ba6e290e938b7766b5e68b7fac02735c
MD5 15316812d69c100975a343dfc838a73c
BLAKE2b-256 911f76b07f79dc6cfad526eed764054061d243b96ab2706e7e1cf858c0e264e2

See more details on using hashes here.

Supported by

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