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


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.3.tar.gz (22.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.3-py2.7.egg (93.9 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for pygithub3-0.3.tar.gz
Algorithm Hash digest
SHA256 6fed7e5f2853bbf703658bd8746449caa312fcaf60d37c0c0e7354e0a2b1a89b
MD5 44e3e7217394b967c5bb1e6cad964807
BLAKE2b-256 f14f26ba72f1e52af336ee9707cdf6c5a776ba125c1685a8ef9bf867834ca30d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pygithub3-0.3-py2.7.egg
Algorithm Hash digest
SHA256 d367c6518f4d41d790129bbdd1985497a6a17c274c70ebde6c897d5c2c1bef02
MD5 2230e7e47d9b87224f7f94bfb8e3ca7a
BLAKE2b-256 6dc949be2ada780ae104692db89d8ee2060ed05f9ae738a5fd4f259ef0cc0a3d

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