展示我的Github贡献!
项目描述
show-me
这是一个显示你的Github贡献历史的简单工具。
$ show-me
Repo | ★ | Total | Pulls | Issues | Commits | Reviews
---------------------------------------+-----+---------+---------+----------+-----------+-----------
packit-service/packit | 20 | 421 | 47 | 58 | 258 | 58
ansible-community/ansible-bender | 105 | 177 | 20 | 33 | 123 | 1
user-cont/release-bot | 36 | 76 | 6 | 21 | 28 | 21
packit-service/ogr | 5 | 68 | 10 | 9 | 32 | 17
user-cont/colin | 30 | 41 | 2 | 1 | 29 | 9
user-cont/conu | 141 | 39 | 3 | 3 | 21 | 12
TomasTomecek/speaks | 2 | 26 | 0 | 1 | 25 | 0
TomasTomecek/dotfiles | 3 | 24 | 0 | 0 | 24 | 0
packit-service/upsint | 1 | 17 | 2 | 6 | 8 | 1
TomasTomecek/sen | 760 | 12 | 1 | 1 | 9 | 1
TomasTomecek/ansible-role-release-bot | 0 | 11 | 0 | 0 | 11 | 0
TomasTomecek/pretty-git-prompt | 33 | 9 | 1 | 1 | 7 | 0
rebase-helper/rebase-helper | 30 | 8 | 1 | 5 | 0 | 2
TomasTomecek/mysterious-keybinds | 0 | 8 | 0 | 0 | 8 | 0
prgcont/workshop-ansible-containers | 4 | 7 | 1 | 0 | 6 | 0
图例(按顺序排列的列)
- Github仓库的名称。
- 当前的星级数量。
- 贡献总数(拉取请求、问题、提交和审查的总和)。
- 你创建的拉取请求数量。
- 你创建的问题数量。
- 你提交到仓库的提交总数。
- 你执行的审查数量。
要求
- Python 3.6+
- Github API令牌:你可以在你的设置页面中获取它。
- 通过环境变量
GITHUB_TOKEN
将其传递给show-me。
- 通过环境变量
安装
$ pip3 install --user show-me
可以直接从Github安装
$ pip3 install --user git+https://github.com/TomasTomecek/show-me
用法
$ GITHUB_TOKEN=my-token show-me
您可以通过CLI选项配置show-me
Usage: show-me [OPTIONS]
Show me my Github contributions!
Options:
-n, --lines INTEGER Print first N lines. [default: 15]
--cache-file-path PATH Path to the cache file. [default:
/home/tt/.cache/show-me.json]
--load-from-cache Don't query Github and load from cache.
--save-to-cache Query Github and save response to a file (to save
time and bandwidth).
--debug Show debug logs.
--start-year INTEGER Start counting the contributions in the selected
year. [default: 2019]
-h, --help Show this message and exit.
祝您玩得开心!
项目详情
下载文件
下载适用于您的平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。
源分布
此版本没有可用的源分布文件。请参阅生成分布存档的教程。
构建分布
show_me-0.1.0-py3-none-any.whl (13.9 kB 查看哈希值)
关闭
show_me-0.1.0-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 012f20452094f51749c9123100701cf9906cb6d131e8aff2ecc16dd1db89a1d6 |
|
MD5 | 1d4ff6a54bc7707181d257d486cd9617 |
|
BLAKE2b-256 | 618433dff8dfd4bc52899abdb6042b113b69bbac208d77e1a43e0a24c47313e4 |