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

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

Uploaded Source

Built Distribution

PyGithub-1.51-py3-none-any.whl (260.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyGithub-1.51.tar.gz
  • Upload date:
  • Size: 141.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for PyGithub-1.51.tar.gz
Algorithm Hash digest
SHA256 d2d17d1e3f4474e070353f201164685a95b5a92f5ee0897442504e399c7bc249
MD5 542d36b905d64ea951b8cd28a5b70765
BLAKE2b-256 909a1cdf86346b3f18a064b783ccbef734ca3d82f47f3c3373f3c6f4ecd429eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyGithub-1.51-py3-none-any.whl
  • Upload date:
  • Size: 260.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for PyGithub-1.51-py3-none-any.whl
Algorithm Hash digest
SHA256 8375a058ec651cc0774244a3bc7395cf93617298735934cdd59e5bcd9a1df96e
MD5 f507d78d1c08cc06f0d4759131692f76
BLAKE2b-256 e947193780145caa381e9900991c03764506bdd472a64b0a60df1562dd9ac308

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