Skip to main content

📊 Git Commit Summary Tool

PyPI Version License: MIT Python 3.6+ PRs Welcome

A powerful, high-performance CLI tool to summarize git commits with rich visual feedback.

Author: Sai Annam (mr_ask_chay)
Handle: @otaku0304


🚀 Quick Start for Users (No Code Required)

You do NOT need to clone this repository to use the tool. Simply install it via pip:

pip install git-commit-summary

Once installed, the command git-commit-summary is available globally in your terminal. You can use it in any of your projects immediately.

Usage

# 1. Go to your project folder
cd my-cool-project

# 2. Run the summary command
git show HEAD | git-commit-summary

🛠️ For Developers (Contributing)

Clone this repository only if you want to contribute to the source code.

git clone https://github.com/otaku0304/git-commit-summary.git
cd git-commit-summary
pip install -r requirements.txt

✨ Features

  • Rich UI: Beautiful terminal output with colors and clear formatting.
  • Smart Analysis:
    • Tracks files changed and file types (e.g., .py, .js).
    • Calculates net changes (Added vs Removed).
    • Detects new functions across multiple languages (Python, JS, C++).
  • Author Branding: Displays author credentials and portfolio links.
  • Security Focused: Sanitized input handling and robust error management.
  • No Heavy Dependencies: Runs with standard library (uses colorama if available, falls back gracefully).

🔒 Security

This tool uses sterile input processing from stdin. It does not execute external code or shell commands, ensuring your local environment remains secure against injection attacks from malicious diffs.

🧪 Example Output

╔══════════════════════════════════════════════════════════╗
║ Git Commit Summary Tool                                  ║
║ Author: Sai Annam (mr_ask_chay / otaku0304)              ║
╚══════════════════════════════════════════════════════════╝

📊 Statistics:
  Files Changed : 2
  Lines Added   : 140
  Lines Removed : 32
  Net Change    : +108

📁 File Types:
  .py           : 1
  .md           : 1

✨ New Functions (2):
  + detect_function
  + print_banner

Maintained with ❤️ by Sai Annam

Metadata

Release files for git-commit-summary 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for git-commit-summary 1.0.1
File Size Uploaded
git_commit_summary-1.0.1.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for git-commit-summary 1.0.1
File Interpreter ABI Platform
git_commit_summary-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.3 kB

Release files / git_commit_summary-1.0.1.tar.gz

Download URL git_commit_summary-1.0.1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
03be32ec405b470b9916dce16111bbc18be4f7d6d0ad85211a3d0ce96d86e5e7
BLAKE2b-256 checksum
How to use checksums
f22b01e636c05ba0a0db77e38b7efdcac5cb1bd356d846684946ca40ad2b3517
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Jan 19, 2026.

Transparency log

Release files / git_commit_summary-1.0.1-py3-none-any.whl

Download URL git_commit_summary-1.0.1-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25f8930c0c6c02ba35bc9cbb56c40e2a0b6f482f41ace8bcaa66f75cb11826dd
BLAKE2b-256 checksum
How to use checksums
5fd5869aed48f250a66055fdff5497222240df39eeed7aec78a73cb665ad0661
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Jan 19, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page