Visualize when git commits were made in a repository in a calendar-like format.
Reason this release was yanked:
change pcakage name
Project description
Gitcal
A python script to visualize when git commits were made in a repository in a calendar-like format.
Examples
Display the number of commits in 2 hour blocks in 12 columns. A block with at least 4 commits is colored in green:
An example of displaying two tables side-by-side, one with a border and different date range:
Compare commits with other members of a collaborative project:
Installation
- Clone this repository and place somewhere like
~/.local/bin/gitcal-py - Create a symlink from
~/.local/bin/gitcal-py/gitcal.pyto~/.local/bin/gitcal
Displaying Multiple tables
gitcal uses the -T/--table argument to display multiple tables.
A table is created based on the arguments on each side of -T, where the command below is used to create multiple tables:
gitcal -T -n "My Commits" --num --no-label -f "<my username>" -t 4 -T -n "Partner 1" -f "<partner 1>" -f "<also partner 1>"
# ^ ^_______________________table 2________________________^ ^______________________table 3______________________^
# |
# table 1
A sample result of the above command (below describes each table):
Table 1
Since there are no arguments to the left of the first -T, the default table with all the daily commits is displayed per week.
Table 2
To the right side of the first -T, we:
- set the table name with
-n - turn on commit counts with
--num(underlines are used to distinguish number entries since there is no spacing on borderless tables) - turn off labels with
--no-labelsince the labels from the first table can be used instead - filter for one user with
-f - set the color threshold
-tto 4 commits
Table 3
The second -T separates the second and third table options.
Note how table 3 only explicitly sets the table name and user filter, but the settings from the second table are carried over to the third table as well.
Most, but not all, settings are carried over between tables so they do not have to be repeated.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitcal_wilgysef-0.0.1-py3-none-any.whl.
File metadata
- Download URL: gitcal_wilgysef-0.0.1-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
351a6e0d2bbcd8c21852f8940f8f6b11968e46b577f66a17a5b6a5c36c0e6940
|
|
| MD5 |
66d0acf4050e20a20f4596738a5f6b3f
|
|
| BLAKE2b-256 |
f59d7a38975064640f4e5efd5de5e13af18ae0ae7f8dde120df0876d9c12b6fb
|