Git repository statistics and summaries for humans and AI agents
Project description
gitstats-cli
Git repository statistics for humans and AI agents. One command to understand any repo.
Install
pip install gitstats-cli
Usage
# Repository overview
gitstats summary .
# Contributors ranked by commits
gitstats authors .
# Commit activity (last 30 days)
gitstats activity . --days 30
# File breakdown by extension
gitstats files .
# Recent commits
gitstats log . -n 10
# Most frequently changed files (churn)
gitstats churn .
# Code ownership by author (line count)
gitstats blame .
gitstats blame . --file src/main.py
Every command supports --json for machine-readable output.
Commands
| Command | Description |
|---|---|
summary |
Branch, commits, contributors, tags, dirty state |
authors |
Contributors ranked by commit count |
activity |
Commit frequency over time with bar chart |
files |
Tracked files grouped by extension |
log |
Recent commits (hash, date, author, message) |
churn |
Most frequently changed files |
blame |
Code ownership by line count per author |
For AI Agents
See SKILL.md for agent-optimized documentation with patterns and JSON output specs.
License
MIT
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 Distribution
gitstats_cli-0.1.0.tar.gz
(6.0 kB
view details)
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 gitstats_cli-0.1.0.tar.gz.
File metadata
- Download URL: gitstats_cli-0.1.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb850109de5cd8c71abf57518d6c4d6cfd72537489d0788f8a417f40892a4385
|
|
| MD5 |
dd76a22848e76f54f81d72d1c447fa2a
|
|
| BLAKE2b-256 |
50cd8aece746fa559044064638fe84cf98238347f614059c65f73aa4e22cbadc
|
File details
Details for the file gitstats_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gitstats_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac641d394ab178a8fc9d7b41b343a946ae719d7d9cfe6d21f49b635fd7bdddad
|
|
| MD5 |
b85e69d35e0ac48410b11baa98bc9092
|
|
| BLAKE2b-256 |
10d8771c4f0c39359af6996851d2a0c08d81e1fd580e719a70f8daccf3fa306f
|