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()
Metadata
Release files for githubcontribs 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| githubcontribs-0.3.0.tar.gz | 15.6 kB | Without provenance | Details for githubcontribs-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| githubcontribs-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for githubcontribs-0.3.0-py3-none-any.whl |
Total release size: 27.8 kB
Release files / githubcontribs-0.3.0.tar.gz
| Download URL | githubcontribs-0.3.0.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2bda9925d174c546dad0e5ba72f3ba4b013f9e315919029c78896cb1b5c22a70
|
|
BLAKE2b-256 checksum How to use checksums |
2091de579bceddec4d911f7a8168173b797f5a995b798a57bb1ead09cef7deb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|
Release files / githubcontribs-0.3.0-py3-none-any.whl
| Download URL | githubcontribs-0.3.0-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3332265975551e5c030295c0510d986c5f1f7c53075597d3e440fef991b9196f
|
|
BLAKE2b-256 checksum How to use checksums |
55043366dceec51ce35e89de5368f09c532fcf3196f0338b58661316c7ce7fba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|
Security for githubcontribs 0.3.0
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.