Skip to main content

Use the full Github API v3

Project description

Tutorial

First create a Gihub 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 without authentication:

g = Github()

Or with an OAuth token:

g = Github( token )

Reference documentation

See http://vincent-jacques.net/PyGithub

Project details


Release history Release notifications | RSS feed

This version

0.7

Download files

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

Source Distribution

PyGithub-0.7.tar.gz (17.4 kB view details)

Uploaded Source

File details

Details for the file PyGithub-0.7.tar.gz.

File metadata

  • Download URL: PyGithub-0.7.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyGithub-0.7.tar.gz
Algorithm Hash digest
SHA256 39e7c810cf44688b34010bb10073e0c84f5c224f70e908ced4a82dc33f11f8a3
MD5 5b184a8afeb7cc17f2dfd2ef0c2117f0
BLAKE2b-256 d37cb7a8dd9152e91c65a7e9981e84b4e38d78cfa4d39db0d51c0e0873a7ddb2

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