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

Uploaded Source

Built Distribution

PyGithub-1.58.0-py3-none-any.whl (312.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyGithub-1.58.0.tar.gz
  • Upload date:
  • Size: 167.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for PyGithub-1.58.0.tar.gz
Algorithm Hash digest
SHA256 e325f5ca2c111d19dea2796c8f1e7ae11da77287007736582196341390d31d35
MD5 c5d11efa12f49c813b5e984b08036ecb
BLAKE2b-256 754def9f51658d28339a59391ec6790aba0e70aef0f235538be75ee9d075bb7d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyGithub-1.58.0-py3-none-any.whl
  • Upload date:
  • Size: 312.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for PyGithub-1.58.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7bac601492a2b6c876ef326e4ffa3c1923e32707e415da76bfb8307ee8ffb7e
MD5 43a5ef6007e9dce0bed2251a30bc7605
BLAKE2b-256 d0de2c9ab7a1ae4684b7e8dc79794100380ef1509519ead6e06ab3534fe09ace

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