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
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.2.tar.gz
(3.2 MB
view details)
Built Distribution
PyGithub-1.58.2-py3-none-any.whl
(312.5 kB
view details)
File details
Details for the file PyGithub-1.58.2.tar.gz
.
File metadata
- Download URL: PyGithub-1.58.2.tar.gz
- Upload date:
- Size: 3.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e6b1b7afe31f75151fb81f7ab6b984a7188a852bdb123dbb9ae90023c3ce60f |
|
MD5 | 3c74b34db9a9ea855ffe2d8c420788dc |
|
BLAKE2b-256 | ba9e7dcb97cb7c4e4656b704ae78ea9c0846d2d8f471a66a495214da586bb593 |
File details
Details for the file PyGithub-1.58.2-py3-none-any.whl
.
File metadata
- Download URL: PyGithub-1.58.2-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.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f435884af617c6debaa76cbc355372d1027445a56fbc39972a3b9ed4968badc8 |
|
MD5 | 32c3d7e0102722a1712300e3a2cb7806 |
|
BLAKE2b-256 | 2b64a39f7b0d0860490b43707f01f84cecce661039968d9cfc082414a29e5b1d |