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


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyGithub-1.27.1.tar.gz (2.6 MB view hashes)

Uploaded Source

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