Skip to main content

Git history visualizations from the command line

Project description

gitplot

Git history visualizations from the command line.

Quick Start

uvx gitplot sediment https://github.com/pola-rs/polars
uvx gitplot sediment /path/to/local/repo --samples 50 --workers 2

Charts

sediment

Stacked area chart showing code age layers over time. Each color band represents lines of code from a specific time period, revealing how quickly code gets replaced.

Based on gitcharts by Vincent D. Warmerdam.

gitplot sediment repo                              # default: quarter granularity, 100 samples, PNG
gitplot sediment repo --granularity year            # group by year instead of quarter
gitplot sediment repo --since 2023-01-01            # only show recent history
gitplot sediment repo --format svg                  # SVG output
gitplot sediment repo --samples 200                 # more data points (incremental)
gitplot sediment repo --include '\.py$'             # only Python files
gitplot sediment repo --exclude 'tests/|lock'       # drop tests and lockfiles
open $(gitplot sediment repo --quiet)               # open the chart directly

--include/--exclude are regexes matched against each file's path; they also work on survivors and busfactor. By default every tracked file is analyzed.

Raw blame data is stored as parquet for incremental reuse. Re-running with more samples only computes the delta. Changing visual settings (granularity, since, format) is instant; changing --include/--exclude re-collects, since they determine which files get blamed.

Development

uv sync
make check
make test

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

gitplot-0.3.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitplot-0.3.0-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file gitplot-0.3.0.tar.gz.

File metadata

  • Download URL: gitplot-0.3.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for gitplot-0.3.0.tar.gz
Algorithm Hash digest
SHA256 aae2b65e07d17c522144c11c10160df269b2a009cc97d5af5fcd605a432fc8a5
MD5 6275427673e852415c326ab64a65d023
BLAKE2b-256 e80360c72610139c6d5b9936bb1b82f17c8f929ebeebcebf4df7f73e4366136e

See more details on using hashes here.

File details

Details for the file gitplot-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: gitplot-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for gitplot-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb4b397aa4b4f71faa106c3199cd7fb0a83dd09a07f086360cdd452bb95524e5
MD5 4590c5c98965808739732e0ea5ca8788
BLAKE2b-256 882ed490d9cf2acf84dd468bba7caddc5c03fc1dbf446643a50685a5f82f55ef

See more details on using hashes here.

Supported by

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