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

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

Uploaded Source

Built Distribution

PyGithub-1.47-py3-none-any.whl (208.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyGithub-1.47.tar.gz
  • Upload date:
  • Size: 115.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.5.6

File hashes

Hashes for PyGithub-1.47.tar.gz
Algorithm Hash digest
SHA256 f3e701a227a81a16fe35695ae812c1ce9290dfb6a5190b364c29cef7d8638a10
MD5 79bb5a6e361dc7093196c398f135ab37
BLAKE2b-256 95c04f88f42d0b652092151621d7297f79080df45947bb020037a4e310fdd7e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyGithub-1.47-py3-none-any.whl
  • Upload date:
  • Size: 208.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.5.6

File hashes

Hashes for PyGithub-1.47-py3-none-any.whl
Algorithm Hash digest
SHA256 2638ea9a2070d995197dca2ac521c207f8de000cc3aa5e912e264932886781ba
MD5 91c929bf878e2f4fac5cf6d6b190285e
BLAKE2b-256 ebb651eb2ce622632dc7e5be86a7cf47b38a5a25fb837709445f506e8acd10f3

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