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

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.
  --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.1.3.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

git_commits_graph-0.1.3-py3-none-any.whl (5.3 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