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

  • 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.5.tar.gz (32.2 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.5-py2.7.egg (162.1 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for pygithub3-0.5.tar.gz
Algorithm Hash digest
SHA256 3309295020f32317cdd039d85b6be597677e3aff31249bc0705d0ab49a5a7563
MD5 3e8a7b258250e41e5f7e2485228a9dd0
BLAKE2b-256 7b3a58e65871be5fe729b3a10a9bc13ca15ba017991b7d221d45434b0362062e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pygithub3-0.5-py2.7.egg
Algorithm Hash digest
SHA256 2f69b8a326c8ae82e0f5bb3bde82871372951094f80ff8d0e988b054395d33fe
MD5 1540fbe1f76f136b1b700411e26eabb0
BLAKE2b-256 2c24cee4ede7dbb40795c1d68ba6f082202b3232b11c42fd94d253ceb8f916fe

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