Skip to main content

No project description provided

Project description

git-stats-report

PyPI PyPI Downloads PyPI Version GitHub Workflow Status (with event)
Unreleased Commits Last Released date
Quality Coveralls branch Code Climate maintainability Code Climate technical debt
OSSF-Scorecard Score Dependabot
Format Conventional Commits Commitlint
Pre Commit Format Linting
Legal FOSSA Status PyPI - License Commercial Use

🔍 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

FOSSA Status

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git-stats-report-0.3.2.tar.gz (12.8 kB view hashes)

Uploaded Source

Built Distribution

git_stats_report-0.3.2-py3-none-any.whl (10.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page