Skip to main content

Display graph of changes in number of lines in project or changed lines

Project description

Git commits graph

pre-commit.ci status Maintainability

Display plot of changes in repo - count of lines or changed lines

Installation

Use pip to install the package:

$ pip3 install git-commits-graph

or pipx to install in isolated environment:

$ pipx install git-commits-graph

Usage

plot timeline of both added and removed lines in your repo:

$ git-commits-graph your-repo-path -c

changes

plot lines count evolution in time.

$ git-commits-graph your-repo-path -t

lines to see all options:

$ git-commits-graph --help
Usage: git-commits-graph [OPTIONS] GIT_DIR

  Plot git commits timeline main function.

Options:
  -b, --branch TEXT               git repository branch to browse.
  -s, --style TEXT                matplotlib plotting style to use.
  -c, --changes                   plot timeline of both added and removed
                                  lines.
  -t, --total-lines               plot lines count time evolution.
  -g, --aggregate-by TEXT         aggregate by: Y - year, M - month, W - week,
                                  D - day
  -l, --log-scale                 aggregate by day
  -a, --list-available-plot-styles
                                  list available plot styles and exit.
  -e, --engine TEXT               plotting engine to use (matplitlib | plotly)
  -o, --output-file TEXT          output file name (for plotly backend)
  --help                          Show this message and exit.

Related Projects

danielfleischer/git-commits-lines-graph - A small python script to visualize the number of lines in a project, as a function of time.

License

MIT © Krystian Safjan.

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_commits_graph-0.2.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

git_commits_graph-0.2.2-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file git_commits_graph-0.2.2.tar.gz.

File metadata

  • Download URL: git_commits_graph-0.2.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.11.2 Darwin/22.3.0

File hashes

Hashes for git_commits_graph-0.2.2.tar.gz
Algorithm Hash digest
SHA256 1deb2560c2b9e7b851fda465b81fc7fbb811ef046f224bdb4c1035ebfc406a27
MD5 c73e75bac82aa9354b15fc9a19d82025
BLAKE2b-256 487faacdc9c7f00e844d73f8682804708dcd2197724c5964b8d67b899d2b88f0

See more details on using hashes here.

File details

Details for the file git_commits_graph-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for git_commits_graph-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6857114add93129480b4ec3e3d3f9c0662d7301008b54209ed132e4e601ddf09
MD5 3591f256f48db0c1125ef27082a32550
BLAKE2b-256 a725b56e0e36038036784193458b76c2a95c04588e2b0384d4cd85bb72611f78

See more details on using hashes here.

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