Skip to main content

zero deps python pypi version CI MIT Docker GHCR

loggit 🪵

Your git history, actually readable. A friendly terminal explorer that turns git log into color, graphs, and answers — zero dependencies.

Stop squinting at git log --oneline. loggit gives you a clear, colored view of what your repository is really doing — commits, authors, churn, and pace — in one command. Pure Python stdlib, works on any laptop, installs instantly.

▌ main
  17 commits

1000a50   Add Docker/GHCR badge + usage section to README
    dsk-dev-ai  ·  6m ago
    +14/-0 in 1 file(s)

✨ Features

🎨 Pretty output colored, aligned, compact log view with refs, ages, and authors
👥 Author stats per-developer commit counts and line churn as a bar chart
📈 Pace metrics commits/day, authors, and added/removed lines over any window
🔎 Powerful filters --grep, --author, --since, --until, --branch
📦 Machine-readable loggit json for one-line-per-commit JSON
💸 100% free zero dependencies, no AI, no server, no API keys

🔧 Install

pip install loggit

No dependencies. No compiled extensions. Works on Python 3.8+ everywhere.

🐳 Docker

docker pull ghcr.io/dsk-dev-ai/loggit:latest
docker run --rm -v "$PWD:/repo" -w /repo ghcr.io/dsk-dev-ai/loggit:latest authors

🚀 Usage

loggit                        # pretty log of recent commits (default: 40)
loggit -n 100                 # show more
loggit --stat                 # add per-commit +added/-removed lines
loggit --grep "docker"        # only commits mentioning "docker"
loggit --author "ada"         # only commits by a specific developer
loggit --since "2 weeks ago"  # recent activity only
loggit authors                # per-developer commit & churn summary
loggit pace                   # overall stats + velocity
loggit json                   # JSON, one object per line (great for scripting)

See loggit --help for the full list of options.

JSON output (for piping into your tools)
loggit json -n 5 > commits.ndjson
{"hash": "1000a50", "author": "dsk-dev-ai", "date": "2026-08-31T02:14:39+05:30", "subject": "Add Docker/GHCR badge", "refs": "HEAD -> main"}

🧠 How it works

  1. Runs git log with a stable, machine-friendly pretty-format.
  2. Parses commits, refs, dates, and message bodies (stdlib only).
  3. Renders a clean, terminal-aware view — colors auto-disable when piped.
  4. Summarizes per-author and per-window metrics on demand.

🤝 Contributing

Have an idea or spotted a quirk? Open an issue or a pull request. Want to add a metric or a new view? It's a focused module in loggit/.

📄 License

MIT — free to use, modify, and distribute.

⭐ Support

If loggit saved you a minute of git log squinting, give it a star ⭐.

Want to help keep it free forever? Consider becoming a sponsor on GitHub.

Metadata

Release files for loggit 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 loggit 1.0.1
File Size Uploaded Provenance
loggit-1.0.1.tar.gz 11.1 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 20.7 kB

Release files / loggit-1.0.1.tar.gz

Download URL loggit-1.0.1.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
53465a16167a3321e7a6074a95a6f97bc6b480169e0ebc09d55ea863f6828145
BLAKE2b-256 checksum
How to use checksums
9f66cfd54a5609a676460b93d6b3fa0441786adf9e53b7cc14b0036429951332
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL loggit-1.0.1-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ca5d5f0f37b2b34a6fbe19bd91e1db8de0ce07981fae5614837d40a3f8ca92b
BLAKE2b-256 checksum
How to use checksums
38638b31bcb499084fd5137181f3f265f9ead5f6d07ca354e85cf0a49f5ae30e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for loggit 1.0.1

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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

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