Visualize weekly GitHub commit activity across repositories.
Project description
gh-weekly-commits
📊 Visualize your weekly GitHub contributions across multiple repositories.
Features
- Fetch weekly commit data for a GitHub user across multiple repositories.
- Visualize the data as a stacked bar chart.
- CLI support for easy usage.
Installation
This project uses uv for fast Python dependency management.
-
Install uv (if not already installed):
curl -Ls https://astral.sh/uv/install.sh | sh
-
Install all dependencies:
uv sync
Usage
CLI
ghweekly --username <your-username> \
--repos org/repo1 org/repo2 \
--start 2025-01-01 \
--plot
Script
Edit scripts/plot_commits.py to set your GitHub username and repository list, then run:
python scripts/plot_commits.py
Weekly Commits Visualization
The latest weekly commits visualization is updated daily and can be found below:
Development
Run Tests
uv pip install pytest
pytest tests/
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 ghweekly-0.1.5.tar.gz.
File metadata
- Download URL: ghweekly-0.1.5.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87d3c5661fbf066b76c11b1a1af9dad25489545babad591437842707cbade9fe
|
|
| MD5 |
469ae903c2bcc646373de08f7e3e0092
|
|
| BLAKE2b-256 |
0ecec4e599457d90b37a407a92af91f3f32ed60c20884a382bbd85a2163136cb
|
File details
Details for the file ghweekly-0.1.5-py3-none-any.whl.
File metadata
- Download URL: ghweekly-0.1.5-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
127d3474c5404915f3d263c1704d612d282f00a69d43206d37b7c155b5537e65
|
|
| MD5 |
2f60e3c3a21cf9c23148b8c7d5cfe4b3
|
|
| BLAKE2b-256 |
13576b508b2dc23e9fc8c110ed4d956ec82aa4db44b194c1811b46a19955c891
|