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

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

Uploaded Source

Built Distributions

PyGithub-1.54.0-py3-none-any.whl (291.0 kB view details)

Uploaded Python 3

PyGithub-1.54-py3-none-any.whl (290.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyGithub-1.54.tar.gz
  • Upload date:
  • Size: 157.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for PyGithub-1.54.tar.gz
Algorithm Hash digest
SHA256 14c96d55e3c0e295598e52fbbbf2a7862a293723482ae9000cb9c816faab4fb4
MD5 4b7f0e4bd64b618556cb5717cc3d5c1b
BLAKE2b-256 2c9c2df0cad1eb058efc15fd435e825c88748ace27e279743d444d84f8f90dd6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyGithub-1.54.0-py3-none-any.whl
  • Upload date:
  • Size: 291.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for PyGithub-1.54.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e0a143d8b3df0a5e6f21067b0cef8458c3f527c3c3dbc77ab27d1a8cfa6b83d
MD5 e7a5a281f5fdbcd8b4da235c25ebcbd8
BLAKE2b-256 3e3ee8f4e4ecb9278ee14bb20a4e5b94130e1f946f1bd30c3fb38825285584c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyGithub-1.54-py3-none-any.whl
  • Upload date:
  • Size: 290.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for PyGithub-1.54-py3-none-any.whl
Algorithm Hash digest
SHA256 053f1b8d553a344ebd3ca3972765d923ee7e8ecc3ea55bd203683f164348fa1a
MD5 02169cc7369103975ac87b8484f6bf78
BLAKE2b-256 5312cac236f5227b556d18e4db5048639a308c59e63e11511dc4f731d70393fd

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