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

This version

1.50

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

Uploaded Source

Built Distribution

PyGithub-1.50-py3-none-any.whl (209.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyGithub-1.50.tar.gz
  • Upload date:
  • Size: 117.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for PyGithub-1.50.tar.gz
Algorithm Hash digest
SHA256 792948610930e135fd174ce8eacf9f4782fe10443faded61d0978d07876382c4
MD5 11c99549952b94da3bda12c4d1f45f32
BLAKE2b-256 c1ba9324dddb27c397dcba5f35645dcc4fd1dc415fb5a1cd3dcf77ba9723c4a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyGithub-1.50-py3-none-any.whl
  • Upload date:
  • Size: 209.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for PyGithub-1.50-py3-none-any.whl
Algorithm Hash digest
SHA256 312100d964259dae394b6e5efc7c30778c4f2a9b5e51d6caa3e62a799bb1014d
MD5 09737ef12c1a58810545ab6d6d68f29a
BLAKE2b-256 0e4c6ece00be1fe8b4b4aada2d6f2ed7b62814b9abfa21962a95464efcd2cb07

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