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

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

Uploaded Source

Built Distribution

PyGithub-1.55-py3-none-any.whl (291.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyGithub-1.55.tar.gz
  • Upload date:
  • Size: 158.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for PyGithub-1.55.tar.gz
Algorithm Hash digest
SHA256 1bbfff9372047ff3f21d5cd8e07720f3dbfdaf6462fcaed9d815f528f1ba7283
MD5 03e5883a8d4358b0786a0db84ad56a22
BLAKE2b-256 9836386d282903c572b18abc36de68aaf4146db4659c82dceee009ef88a86b67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyGithub-1.55-py3-none-any.whl
  • Upload date:
  • Size: 291.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for PyGithub-1.55-py3-none-any.whl
Algorithm Hash digest
SHA256 2caf0054ea079b71e539741ae56c5a95e073b81fa472ce222e81667381b9601b
MD5 30beb17cf4f84a0204fe67aaa164fcc6
BLAKE2b-256 c11f9dc4ba315eeea222473cf4c15d3e665f32d52f859d9d6e73219d0a408969

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