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
Release files for git-stats-report 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| git-stats-report-0.3.2.tar.gz | 12.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| git_stats_report-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.0 kB
Release files / git-stats-report-0.3.2.tar.gz
| Download URL | git-stats-report-0.3.2.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8334b9e1c4cf4168f15ca2e2002e561f501b50ace1b7ff39621aed054c6ec48
|
|
BLAKE2b-256 checksum How to use checksums |
7847f418cc654abfac934dc3544393f917420964210fe840296277c5d471e4d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.9
|
Release files / git_stats_report-0.3.2-py3-none-any.whl
| Download URL | git_stats_report-0.3.2-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
64cc98ab2eed983148c0bac53ed49c251ef2ebd9ccba3b3bae2f5db711a1bc84
|
|
BLAKE2b-256 checksum How to use checksums |
17be622eb8d17a9be0a0d415e21201b7fe22947c22ea129f2c0a0d3e81a9589a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.9
|