No project description provided
Project description
git-stats-report
PyPI | |
---|---|
Quality | |
Format | |
Legal |
🔍 Git Stats Reports 🔍
Usage
Use the --help flag for detailed options:
git-stats-report --help
git-stats-report can be used in different ways, the most straightforward one is:
git-stats-report -s "4"
This will return statistics for each contributor since four days ago. The -s flag accepts any number greater than 0
Other use of git-stats-report is with the -st flag, which allows to change the default behaviour, SINCE_DAYS, to FROM_LATEST_TAG:
git-stats-report -st "FROM_LATEST_TAG"
This will return statistics for each contributor since the last generated tag. Using the -st flag, the -s flag is not needed.
A last option is the -r flag, which will return the raw string with linebreaks:
git-stats-report -r -s "4"
The output will be more suitable in some cases, like in CI/CD pipelines if you want to store the report in a variable and print it somewhere else.
Installation
With Pipx
Recommended instalation for CICD is through pipx
with a pinned version:
pip install pipx==1.2.0
pipx run git-stats-report==0.3.2
That command will create a virtual environment just for git-stats-report and return the report.
With pip
Instalation can be done with pip as usual:
pip install git-stats-report
Pipenv and poetry equivalents can be used as well.
F.A.Q.
License
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 Distribution
Built Distribution
File details
Details for the file git-stats-report-0.3.2.tar.gz
.
File metadata
- Download URL: git-stats-report-0.3.2.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8334b9e1c4cf4168f15ca2e2002e561f501b50ace1b7ff39621aed054c6ec48 |
|
MD5 | 63a14181824472bb1e01a73a2f3994a5 |
|
BLAKE2b-256 | 7847f418cc654abfac934dc3544393f917420964210fe840296277c5d471e4d8 |
File details
Details for the file git_stats_report-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: git_stats_report-0.3.2-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64cc98ab2eed983148c0bac53ed49c251ef2ebd9ccba3b3bae2f5db711a1bc84 |
|
MD5 | 7e85f1e2a01415cdbd3dfc876117200e |
|
BLAKE2b-256 | 17be622eb8d17a9be0a0d415e21201b7fe22947c22ea129f2c0a0d3e81a9589a |