git-stats-report 0.3.2

Creator: bradpython12

Last updated:

Add to Cart

Description:

gitstatsreport 0.3.2

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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.