Plot stats on Git repositories with interactive Plotly charts
Project description
Better Git of Theseus is a modern refactor of the original git-of-theseus. It provides a fully interactive Web Dashboard powered by Streamlit and Plotly, making it easier than ever to visualize how your code evolves over time.
(Note: Charts are now fully interactive!)
Key Enhancements
- 🚀 One-Click Visualization: New
better-git-of-theseuscommand automatically scans your project and launches a Web UI. - 📊 Interactive Charts: Replaced static Matplotlib plots with Plotly. Support for zooming, panning, and detailed data hovers.
- 🧠 In-Memory Processing: Data flows directly in memory. No more mandatory intermediate
.jsonfiles cluttering your repo. - ⚡ Smart Caching: Leverages Streamlit's caching to make repeat analysis of large repos nearly instantaneous.
- 🎨 Modern UI: Adjust parameters (Cohort format, ignore rules, normalization, etc.) in real-time via the sidebar.
Installation
Install via pip:
pip install better-git-of-theseus
Quick Start
Run the following in any Git repository:
better-git-of-theseus
It will automatically open your browser to the interactive dashboard.
Feature Highlights
Cohort Formatting
Customize how commits are grouped by year, month, or week (based on Python strftime):
%Y: Group by Year (Default)%Y-%m: Group by Month%Y-W%W: Group by Week
Real-time Parameters
Adjust parameters like "Max Series", "Normalization", and "Exponential Fit" directly in the Web UI without re-running any commands.
FAQ
- Duplicate Authors? Configure a .mailmap file in your repo root to merge identities.
- Performance? First-time analysis of very large repos (like the Linux Kernel) may take time, but subsequent views are extremely fast due to caching.
Credits
Special thanks to Erik Bernhardsson for creating the original git-of-theseus.
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 better_git_of_theseus-0.4.5.tar.gz.
File metadata
- Download URL: better_git_of_theseus-0.4.5.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe71c7996c79a562a4eeda7ae8640c15e60cb9e260ad230927b8f96cfc7b361e
|
|
| MD5 |
eb46e59449443d6e545535b7fdf4122b
|
|
| BLAKE2b-256 |
42255d9e79521de09935953625bc6b01c2a5b58f094e46f6022dfaba8e110811
|
File details
Details for the file better_git_of_theseus-0.4.5-py3-none-any.whl.
File metadata
- Download URL: better_git_of_theseus-0.4.5-py3-none-any.whl
- Upload date:
- Size: 26.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c40b972f07e79d1b784f27ae96853f1b99ed2b9911eb408de0803e00dab7e90e
|
|
| MD5 |
2f681d7d12b8e5eb258adc9aad89e500
|
|
| BLAKE2b-256 |
7fa1c590f602dc86c6705a6a3640b998a1c31b745c775a06db8c20bf6854c827
|