Skip to main content

Use the full Github API v3

Project description

(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://pygithub.github.io/PyGithub/v1/index.html

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-redux-1.33.0.tar.gz (2.6 MB view details)

Uploaded Source

File details

Details for the file pygithub-redux-1.33.0.tar.gz.

File metadata

File hashes

Hashes for pygithub-redux-1.33.0.tar.gz
Algorithm Hash digest
SHA256 7fccba8f6f5e2f0e8504aab471f989ff51615927bfe0dfbd3ba93abeada1f41a
MD5 7f641432d3370da4363077299e722d3c
BLAKE2b-256 420960b15e6a6331120175e449b527086ec9ed4c77041881040565b20aed95ea

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