Show me my Github contributions!
Project description
show-me
This is a simple tool to show you history of your Github contributions.
$ 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
Legend (columns in order):
- Name of the Github repository.
- Current star count.
- Total number of contributions (sum of pull requests, issues, commits and reviews).
- A Count of pull requests created by you.
- How many issues you've created.
- Total count of commits you submitted to the repository.
- A number of reviews you performed.
Requirements
- Python 3.6+
- Github API token: you can get it in your settings
page.
- Pass it to show-me via environment variable
GITHUB_TOKEN
.
- Pass it to show-me via environment variable
Installation
$ pip3 install --user show-me
Feel free to install directly from Github:
$ pip3 install --user git+https://github.com/TomasTomecek/show-me
Usage
$ GITHUB_TOKEN=my-token show-me
You can configure show-me via CLI options:
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.
Have fun!
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
show_me-0.1.0-py3-none-any.whl
(13.9 kB
view details)
File details
Details for the file show_me-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: show_me-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 012f20452094f51749c9123100701cf9906cb6d131e8aff2ecc16dd1db89a1d6 |
|
MD5 | 1d4ff6a54bc7707181d257d486cd9617 |
|
BLAKE2b-256 | 618433dff8dfd4bc52899abdb6042b113b69bbac208d77e1a43e0a24c47313e4 |