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

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

Uploaded Source

Built Distribution

PyGithub-1.52-py3-none-any.whl (271.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyGithub-1.52.tar.gz
  • Upload date:
  • Size: 147.2 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.1 CPython/3.8.5

File hashes

Hashes for PyGithub-1.52.tar.gz
Algorithm Hash digest
SHA256 fc11a182ca3d88dde6ab2fbbd07e3441685cc8b738f7813fcbfc18be28c1d8ed
MD5 def0e4e1c129b1f7c0eb1e7df7ddb63d
BLAKE2b-256 9c5c03e2a39c556a58fe0d77873bb508acc7bfd56cb34db16fe415da289a2ea7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyGithub-1.52-py3-none-any.whl
  • Upload date:
  • Size: 271.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.1 CPython/3.8.5

File hashes

Hashes for PyGithub-1.52-py3-none-any.whl
Algorithm Hash digest
SHA256 371d17e855a2fd7a9ea1a9c71fd1d5d3e805369b60ce21121dd2931e5fbfc4e7
MD5 8474eface0cba507e0c47a687814cc42
BLAKE2b-256 08bdccc9f64e5fbbf668c81f7aef56535bf53d3579191e01d020ae01dbd63f1e

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