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

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.58.1.tar.gz (3.2 MB view details)

Uploaded Source

Built Distribution

PyGithub-1.58.1-py3-none-any.whl (312.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyGithub-1.58.1.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for PyGithub-1.58.1.tar.gz
Algorithm Hash digest
SHA256 7d528b4ad92bc13122129fafd444ce3d04c47d2d801f6446b6e6ee2d410235b3
MD5 de80bb62156895ec044b45d5b13ce4c7
BLAKE2b-256 206cde921918c2b3e23057813d14edec87593798c9977b341ebb7d16ec1fb2b2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyGithub-1.58.1-py3-none-any.whl
  • Upload date:
  • Size: 312.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for PyGithub-1.58.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4e7fe9c3ec30d5fde5b4fbb97f18821c9dbf372bf6df337fe66f6689a65e0a83
MD5 b5c497c15c1d75d407979009ee799ff9
BLAKE2b-256 af095f5a51e8e7a3245cc1af0c5c71b4f6bbcd3c96c5317e4c4e864c728aa1e5

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