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.1.tar.gz (30.0 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.1-py2.7.egg (149.2 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for pygithub3-0.4.1.tar.gz
Algorithm Hash digest
SHA256 cabd783e41a40d07a30d3e394a8ee24b3c1b09b87a6a6fb71198153feea7986f
MD5 e9477be883b1c3861d8f6f7b595c7516
BLAKE2b-256 5bd261386b45dc226efa254d166fdc90ef7b4fd366815570fb79eb4f17417559

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pygithub3-0.4.1-py2.7.egg
Algorithm Hash digest
SHA256 73fbb5a40fe2651ad25b1d7112bee936e18258fe37b7ba0aa6feadabf5200569
MD5 ac4c4d78842d3e5ecc5cdc9ed7615078
BLAKE2b-256 aea73fb0968af861620b507abade49291146c72a2360f5b6f8d6f56b7606a66f

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