Skip to main content

Use the full Github API v3

Project description

(Very short) Tutorial

First create a Github instance:

from github import Github

# using username and password
g = Github("user", "password")

# or using an access token
g = Github("access_token")

Then play with your Github objects:

for repo in g.get_user().get_repos():
    print(repo.name)
    repo.edit(has_wiki=False)

Reference documentation

See http://pygithub.readthedocs.io/en/latest/

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.54.0.1.tar.gz (157.1 kB view details)

Uploaded Source

Built Distribution

PyGithub-1.54.0.1-py3-none-any.whl (291.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyGithub-1.54.0.1.tar.gz
  • Upload date:
  • Size: 157.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for PyGithub-1.54.0.1.tar.gz
Algorithm Hash digest
SHA256 4c4db27bd2b994d55e9eb0b75f95c254379558fded3b187ec6fa5dfb961cff2b
MD5 86b6d5dac6740d0baa7d47890d76f93c
BLAKE2b-256 1f3ee815302a8a1b426677810cea233720cde97d30dca05a241dfe9abc6b1d08

See more details on using hashes here.

File details

Details for the file PyGithub-1.54.0.1-py3-none-any.whl.

File metadata

  • Download URL: PyGithub-1.54.0.1-py3-none-any.whl
  • Upload date:
  • Size: 291.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for PyGithub-1.54.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c17e3da714f6ff923fc927d1d3593d94f93795431a8309a923aaca7daffad4e6
MD5 9616d18ed9aef26d45ee350512953d8d
BLAKE2b-256 39fa06ffeb7c64101eb8df7cac8b3725dff8923c98531ccd4c0e0b5d80f32c15

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