• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PyGithub: Typed interactions with the GitHub API v3

原作者: [db:作者] 来自: Gitee 收藏 邀请

PyGitHub

PyPIcheckreadthedocsLicenseSlackOpen Source HelperscodecovCode style: black

PyGitHub is a Python library to access the GitHub API v3 and Github Enterprise API v3.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# First create a Github instance:# using username and passwordg = Github("user", "password")# or using an access tokeng = Github("access_token")# Github Enterprise with custom hostnameg = Github(base_url="https://{hostname}/api/v3", login_or_token="access_token")# Then play with your Github objects:for repo in g.get_user().get_repos():    print(repo.name)

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.

Maintainership

We're actively seeking maintainers that will triage issues and pull requests and cut releases.If you work on a project that leverages PyGitHub and have a vested interest in keeping the code alive and well, send an email to someone in the MAINTAINERS file.


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
git-cheat-sheet: git and git flow cheat sheet发布时间:2022-02-13
下一篇:
git-stats: 发布时间:2022-02-13
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap