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 with an OAuth token:

g = Github( token )

Or without authentication:

g = Github()

Reference documentation

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

Project details


Release history Release notifications | RSS feed

This version

1.6

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.6.zip (108.0 kB view details)

Uploaded Source

File details

Details for the file PyGithub-1.6.zip.

File metadata

  • Download URL: PyGithub-1.6.zip
  • Upload date:
  • Size: 108.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyGithub-1.6.zip
Algorithm Hash digest
SHA256 4a6274bf5ea43e12df08a1de4c43541eceda31fa564c9b1711b84e1a944a4d49
MD5 1e9b5b2c5cb41b4bf651022a87930696
BLAKE2b-256 ce5d96481f32d8bc8d167e3d9b7edcfae081b1ce58a06b48b74ceba2f974d0cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page