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.46

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

Uploaded Source

Built Distribution

PyGithub-1.46-py3-none-any.whl (205.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyGithub-1.46.tar.gz
  • Upload date:
  • Size: 113.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.5.6

File hashes

Hashes for PyGithub-1.46.tar.gz
Algorithm Hash digest
SHA256 ae21a1cfceba4742810e9cbedbfc8737717208796f76b13665826b52f278a77b
MD5 6929a6a4f9369df7cfe2e372307db645
BLAKE2b-256 96350e031798373738b807ef99ada14d192e41fcb4952c474f038ff20dbb7bdd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyGithub-1.46-py3-none-any.whl
  • Upload date:
  • Size: 205.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.5.6

File hashes

Hashes for PyGithub-1.46-py3-none-any.whl
Algorithm Hash digest
SHA256 f8bb9b03bfa929d74d01b75779160c3a59eab91a9e65cb9f8e62868484be4839
MD5 3fa3a4ef5b2356b2f1766a067a143f27
BLAKE2b-256 cff40dbe960b829266eb01034b6d82cb423b3e88291d35d901bc8504f2e7a4b9

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