一个无需克隆即可获取存储库详细信息的Python脚本
文章目录

RepoPeek是一个Python脚本,无需克隆即可获取有关存储库的详细信息。 使用GitHub API检索所有信息。
GitHub API.
请注意:此模块发出的API请求未使用基本身份验证或OAuth。 因此,速率限制允许每小时最多60个请求。 未经身份验证的请求与原始IP地址相关联。
介召
-
Basic information about the repository.
- Repository Name
- Default Branch
- Repository Size
- Repository License
- Repository Description
- Languages used in the repository.
-
Repository Statistics.
- Forks
- Watchers
- Open Issues
- Total Stars
-
URL's of the repository.
- GIT URL
- SSH URL
- SVN URL
- Clone URL
安装
要安装此脚本,以便可以从任何地方通过Python访问该脚本,请将脚本复制到您选择的目录中,然后将该目录添加到您的PYTHONPATH中
Usage
python -m repopeek

评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论