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

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

Uploaded Source

Built Distribution

PyGithub-1.53-py3-none-any.whl (274.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyGithub-1.53.tar.gz
  • Upload date:
  • Size: 148.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for PyGithub-1.53.tar.gz
Algorithm Hash digest
SHA256 776befaddab9d8fddd525d52a6ca1ac228cf62b5b1e271836d766f4925e1452e
MD5 46bbf3576f2791661fa394b7ee72654c
BLAKE2b-256 0e15f0f3d504640d2726c017c0c2ae0d21ba2560942ff797f97d3bd6c8535298

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyGithub-1.53-py3-none-any.whl
  • Upload date:
  • Size: 274.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for PyGithub-1.53-py3-none-any.whl
Algorithm Hash digest
SHA256 8ad656bf79958e775ec59f7f5a3dbcbadac12147ae3dc42708b951064096af15
MD5 7d4655ae0b8db4c1e932b31a4853ba87
BLAKE2b-256 86878ce81695f851697d4112f4c0ce43346b7b0ca52ea6b9e81e65bfedb82f4a

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