PyGitHub 
PyGitHub is a Python library to access the GitHub REST API.
This library enables you to manage GitHub resources such as repositories, user profiles, and organizations in your Python applications.
Install
pip install PyGithub 
Simple Demo
from github import Github 
from github import Auth 
auth = Auth.Token("access_token") 
g = Github(auth=auth) 
g = Github(base_url="https:/{hostname}/api/v3", auth=auth) 
for repo in g.get_user().get_repos():
    print(repo.name) 
- close()
 
 
Documentation
More information can be found on the PyGitHub documentation site.
Development
Contributing
Long-term discussion and bug reports are maintained via GitHub Issues.
Code review is done via GitHub Pull Requests.
For more information read CONTRIBUTING.md.
Main 
 |