Skip to main content

Use the full Github API v3

Project description

This is PyGithub, but using the requests library instead of httplib.

(Very short) Tutorial

First create a Github instance:

from github import Github

g = Github("user", "password")

Then play with your Github objects:

for repo in g.get_user().get_repos():
    print repo.name
    repo.edit(has_wiki=False)

You can also create a Github instance with an OAuth token:

g = Github(token)

Or without authentication:

g = Github()

Reference documentation

See http://jacquev6.github.com/PyGithub

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

PyGithub-requests-1.26.0.tar.gz (2.6 MB view details)

Uploaded Source

File details

Details for the file PyGithub-requests-1.26.0.tar.gz.

File metadata

File hashes

Hashes for PyGithub-requests-1.26.0.tar.gz
Algorithm Hash digest
SHA256 35b17ce0b99a9ca23220ca2ddd58e7e6654bd2043f5f149d62f86a86f0048888
MD5 1efb032e65ae9ec3c85db74bf2fb3a85
BLAKE2b-256 c14b360a43988b38e7d0232a944698f94d8400f0a1261110010e65371fb31ec6

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