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

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

Uploaded Source

Built Distribution

PyGithub-1.57-py3-none-any.whl (297.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for PyGithub-1.57.tar.gz
Algorithm Hash digest
SHA256 c273f252b278fb81f1769505cc6921bdb6791e1cebd6ac850cc97dad13c31ff3
MD5 f023a76c0c0995a39bac96a0bd1a2d43
BLAKE2b-256 6d571c8a10e67e50cbee3c721bb554ac9a422f9f0accfc8f6e16a3fe9e65d387

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for PyGithub-1.57-py3-none-any.whl
Algorithm Hash digest
SHA256 5822febeac2391f1306c55a99af2bc8f86c8bf82ded000030cd02c18f31b731f
MD5 013620a50112dd50a0a84450fb9bb51a
BLAKE2b-256 5a9e71e48e5557e3d1bf9c904f3f8bddea29d253d3565c85229cbd2004dcd143

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