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

Uploaded Source

Built Distribution

PyGithub-1.54.1-py3-none-any.whl (289.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyGithub-1.54.1.tar.gz
  • Upload date:
  • Size: 156.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for PyGithub-1.54.1.tar.gz
Algorithm Hash digest
SHA256 300bc16e62886ca6537b0830e8f516ea4bc3ef12d308e0c5aff8bdbd099173d4
MD5 79d0453f34c61391a3676cbec96cf53f
BLAKE2b-256 6fd6831918fd574b687e7aa3caada99ce7c7c917275677a04c373631ff974be7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyGithub-1.54.1-py3-none-any.whl
  • Upload date:
  • Size: 289.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for PyGithub-1.54.1-py3-none-any.whl
Algorithm Hash digest
SHA256 87afd6a67ea582aa7533afdbf41635725f13d12581faed7e3e04b1579c0c0627
MD5 ef7a1cf268e989c81db645b60fcaae3a
BLAKE2b-256 1844df78514f2b5f5abaec330596e0fa3273824238399a964d1a7e82fd39990d

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