blame-g
blame-g is a command-line tool that analyzes git repositories and generates contributor statistics — including commits, lines added/deleted, files changed, pull requests, reverts, and more — beautifully rendered in a terminal table.
Geddit? Blame- ji? ;)
Features
- Contributor Statistics: Aggregates commits, lines added/deleted, files changed, pull requests, and reverts for each contributor.
- Rich Output: Uses the
richlibrary to provide a visually appealing and informative table of statistics in your terminal. - Branch Specific Analysis: Analyze a specific branch of your repository.
- Pull Request & Revert Detection: Detects PRs and reverts based on commit message patterns.
Note: The detection only works if you use the default PR message patterns for Bitbucket, GitHub, and GitLab. Custom commit message formats might not be recognized.
- Git-Aware Context: Automatically detects and works within the current Git repository.
Installation
Install from PyPI
pip3 install blame-g
Clone and Run from Source
git clone https://github.com/mcking-07/blame-g.git
cd blame-g
pip3 install -r requirements.txt
python3 blame-g [repo_path] [branch_name]
Editable Install
git clone https://github.com/mcking-07/blame-g.git
cd blame-g
pip3 install -e .
blame-g [repo_path] [branch_name]
Usage
blame-g [repo_path](defaults to the current working directory) [branch_name](defaults to main or master)
License
This project is licensed under the MIT License.
Metadata
Release files for blame-g 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| blame_g-0.1.2.tar.gz | 6.8 kB | Without provenance | Details for blame_g-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| blame_g-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for blame_g-0.1.2-py3-none-any.whl |
Total release size: 13.1 kB
Release files / blame_g-0.1.2.tar.gz
| Download URL | blame_g-0.1.2.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9a9a17b0dd8dc305105aa1adc0e425feed05e3a9cd61749de31b5c71077e87e
|
|
BLAKE2b-256 checksum How to use checksums |
c1c6ed184d6143d0c6e06b688090365eec3c387f142c29ca309c04e34dc8bdd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.14.4
|
Release files / blame_g-0.1.2-py3-none-any.whl
| Download URL | blame_g-0.1.2-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43271ff1211dc674e66df6c0be933d4566aaa5620cd4c9112c84b16a0b1a6a5f
|
|
BLAKE2b-256 checksum How to use checksums |
878345260ac8cfa9317b3d94cf6b282af1a02bfbb359aa637407e0eeac387fc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.14.4
|
Security for blame-g 0.1.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.