Skip to main content

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

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)

Source distribution for git-stats-report 0.3.2
File Size Uploaded
git-stats-report-0.3.2.tar.gz 12.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for git-stats-report 0.3.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page