Tool built with python to summarize git diff.
Motivation
This tool can put diffs into Excel.
Installation
This tool is installed with pip:
$ pip install pgdf
Usage
Go to the Git repository directory, then:
$ pgdf 09c03f56 93496ef3
$ pgdf 09c03f56 93496ef3 dir/path file/path
$ pgdf origin/main feature/something
It generates an Excel file that contains summary of the differences.
Excel Format
The output excel file contains two sheets, Summary and Diff.
Summary
The summary sheet contains the summary of the differences.
It is same as the result of git diff --stats for the specified commits.
Diff
The diff sheet contains the differences of the markdown files. It is something like git diff for the specified commits, but it also contains line numbers and commit short logs as follows.
Diff 29485862 4959956a |
||||||
diff –git a/file_a.txt b/file_a.txt |
||||||
index 29485862..4959956a 100644 |
||||||
— a/file_a.txt |
||||||
+++ b/file_a.txt |
||||||
@@ -1,3 +1,3 @@ |
||||||
33 |
33 |
text 1 |
||||
34 |
34 |
text 2 |
||||
29485862 |
User 1 |
2024-01-01 … |
old comment |
35 |
- old text 3 |
|
4959956a |
User 2 |
2024-01-01 … |
new comment |
35 |
+ new text 3 |
|
36 |
36 |
text 4 |
||||
37 |
37 |
text 5 |
||||
PyPI package
Metadata
Release files for pgdf 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pgdf-0.0.5.tar.gz | 9.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pgdf-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.6 kB
Release files / pgdf-0.0.5.tar.gz
| Download URL | pgdf-0.0.5.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1dc1a91e6c06272ee939d5586848dcf7b7d544dd4c0b58226ec7a39c28dee17e
|
|
BLAKE2b-256 checksum How to use checksums |
c93eda0caa16915f6f10725ffabbcdf38f0cddb5bfd0dd70d01f4d0f77175edc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 20, 2026.
Transparency logRelease files / pgdf-0.0.5-py3-none-any.whl
| Download URL | pgdf-0.0.5-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b132c73cfa734a2779066287dd1afe1928cd9ad8e17eb55cbc186da2c529b08
|
|
BLAKE2b-256 checksum How to use checksums |
9d47d21b98f1f51efdc8c07a50ca133ed5f74123a16995b7a0d1e32a85053360
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 20, 2026.
Transparency log