Skip to main content

git-runstats

Display git contribution statistics (insertions + deletions)

demo

Usage

Usage: git-runstats [OPTIONS] [GITARGS]...

  Most arguments of `git log` will work as GITARGS, but do not change the
  output-format. Use -- to separate GITARGS.

Options:
  -l, --limit INTEGER  Number of commits to read
  --tty / --no-tty     Enable tty

Live-stats

git runstats

Stats for README.md

git runstats README.md

Display help

git-runstats --help

Non-live stats with limit

git runstats -l 1000 | less

Non-live stats reversed

git runstats -l 1000 | head -n -1 | sort -n

Show stats in branch

git runstats master..my_branch

Show stats in current branch

git runstats master..

Show stats from 2019

git runstats -- --since=2019-01-01 --until=2019-12-31

Who knows most about the rust Alpine Linux package

cd aports
git runstats community/rust

Install

pip install git-runstats

Why

In comparison to shortlog runstats gives immediate feedback and counts changes instead of commits. Press Ctrl-C once you have enough information. Shortlog can also be very wrong:

$> cd linux
$> git shortlog -s -n net/802/ | head -n 10
    11  Stephen Hemminger
    10  Arnaldo Carvalho de Melo
     9  Eric Dumazet
     6  Eric W. Biederman
     5  Alexey Dobriyan
     5  David S. Miller
     4  Paul Gortmaker
     4  David Ward
     3  Linus Torvalds
     3  Adrian Bunk

versus

$> cd linux
$> git runstats net/802/ | head -n 10
      1556  Linus Torvalds
       931  David Ward
       749  Patrick McHardy
       104  Stephen Hemminger
        98  Eric Dumazet
        65  Pavel Emelyanov
        51  Thomas Gleixner
        47  Johannes Berg
        40  Alexey Dobriyan
        30  Joe Perches

Metadata

Release files for git-runstats 0.16.0

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-runstats 0.16.0
File Size Uploaded Provenance
git-runstats-0.16.0.tar.gz 5.7 kB Without provenance Details

Release files / git-runstats-0.16.0.tar.gz

Download URL git-runstats-0.16.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ba3a22cb02da8f558792ce95381ebcc407028b5c6fc3df87280962529af94435
BLAKE2b-256 checksum
How to use checksums
50668bd34391c88371d82025e24d8978fe8fa3f4c5e48d43e79ab398b12fb040
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.8.0 tqdm/4.46.1 CPython/3.8.2

Security for git-runstats 0.16.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.16.0 This release

1 release file No provenance

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