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

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

Uploaded Source

Built Distribution

PyGithub-1.56-py3-none-any.whl (293.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyGithub-1.56.tar.gz
  • Upload date:
  • Size: 159.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for PyGithub-1.56.tar.gz
Algorithm Hash digest
SHA256 80c6d85cf0f9418ffeb840fd105840af694c4f17e102970badbaf678251f2a01
MD5 2aab0f1ec78f09c770b038e9d09be8b9
BLAKE2b-256 707779e0823cf084d73633deff98b994219878201c0c26cbc49b43d49f97deec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyGithub-1.56-py3-none-any.whl
  • Upload date:
  • Size: 293.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for PyGithub-1.56-py3-none-any.whl
Algorithm Hash digest
SHA256 d15f13d82165306da8a68aefc0f848a6f6432d5febbff13b60a94758ce3ef8b5
MD5 e2bd0c8b9949d1524a3200608ef9ea5f
BLAKE2b-256 86b431d769a7f078324670d0a101da7dc210ea335b9bf266382fb446455810c4

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