Skip to main content

gh-weekly-commits

CI codecov license

📊 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.

  1. Install uv (if not already installed):

    curl -Ls https://astral.sh/uv/install.sh | sh
    
  2. 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:

Weekly Commits

Development

Run Tests

uv pip install pytest
pytest tests/

License

MIT

Metadata

Release files for ghweekly 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ghweekly 0.1.5
File Size Uploaded
ghweekly-0.1.5.tar.gz 6.1 kB Details

Built distribution (wheel)

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

Total release size: 11.3 kB

Release files / ghweekly-0.1.5.tar.gz

Download URL ghweekly-0.1.5.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
87d3c5661fbf066b76c11b1a1af9dad25489545babad591437842707cbade9fe
BLAKE2b-256 checksum
How to use checksums
0ecec4e599457d90b37a407a92af91f3f32ed60c20884a382bbd85a2163136cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.4

Release files / ghweekly-0.1.5-py3-none-any.whl

Download URL ghweekly-0.1.5-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
127d3474c5404915f3d263c1704d612d282f00a69d43206d37b7c155b5537e65
BLAKE2b-256 checksum
How to use checksums
13576b508b2dc23e9fc8c110ed4d956ec82aa4db44b194c1811b46a19955c891
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.4

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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