Simple analytics for GitHub contributions across an organization.
Project description
githubcontribs: Analyze GitHub contributions
A simple Python API to fetch and plot GitHub contributions across repositories.
Install:
pip install githubcontribs
Fetch data:
import githubcontribs
fetcher = githubcontribs.Fetcher("laminlabs") # pass the organization
df = fetcher.fetch_contribs("lamindb") # pass one or multiple repositories
df.head()
#> date author repo type title ...
#> 2025-10-11 falexwolf lamindb commit 🚸 Better UX for `lamin annotate` CLI command ...
#> 2025-10-10 Koncopd lamindb commit 🐛 Various fixes for filtering (#3147) ...
#> 2025-10-10 falexwolf lamindb commit 🐛 Do not retrieve records from trash based on ...
Plot data:
plotter = githubcontribs.Plotter(df)
plotter.plot_total_number_by_author_by_type()
plotter.plot_number_by_month_by_author()
If you want to make such analyses reproducible: here is how to track the notebooks, environments, and input & ouput data for these plots.
PS: You can also fetch all repos with activity in a year.
fetcher.fetch_repos()
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 githubcontribs-0.3.0.tar.gz.
File metadata
- Download URL: githubcontribs-0.3.0.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bda9925d174c546dad0e5ba72f3ba4b013f9e315919029c78896cb1b5c22a70
|
|
| MD5 |
4f279079b56e5e3cef302bea7195612b
|
|
| BLAKE2b-256 |
2091de579bceddec4d911f7a8168173b797f5a995b798a57bb1ead09cef7deb2
|
File details
Details for the file githubcontribs-0.3.0-py3-none-any.whl.
File metadata
- Download URL: githubcontribs-0.3.0-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3332265975551e5c030295c0510d986c5f1f7c53075597d3e440fef991b9196f
|
|
| MD5 |
ec3872152b8181f4ab7738e6c088a8b0
|
|
| BLAKE2b-256 |
55043366dceec51ce35e89de5368f09c532fcf3196f0338b58661316c7ce7fba
|