Skip to main content

(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

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.

Release history Release notifications | RSS feed

This release

1.33.0 This release

1 file

1.32.0

1 file

1.31.0

1 file

1.30.0

1 file

1.29.0

1 file

1.28.0

1 file

1.27.0

1 file

1.26.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page