Skip to main content

punchcard generator for git commit frequencies

Project description

Simple git punchcard utility, inspired by git-punchcard-plot but rewritten for python3 with matplotlib.

Installation

The script can be obtained from PyPI:

pip install --user git-punchcard

Alternatively, simply drop the git-punchcard script into ~/.local/bin and add that folder to PATH.

Usage

Show a github-like punchcard plot with grid:

git punchcard --grid

By default, the author’s local timezone is used for the plot. In order to use a fixed timezone for all commits, you have to specify a --timezone argument, e.g.:

git punchcard --timezone CET

You can pass additional git log options to restrict the range of commits or author after --, for example:

git punchcard -- --author=myself master~20..master

Set the directory of the git repository as follows:

git -C /path/to/repo punchcard

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-punchcard-1.1.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

git_punchcard-1.1.0-py3-none-any.whl (3.5 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