Skip to main content

GitHubHealth

PyPI version Code style: black pre-commit pylint Buy me a coffee

GitHubHealth is a Python library for monitoring code health in GitHub.

Installation

Use the package manager pip to install GitHubHealth.

# shell
pip install GitHubHealth

Usage

Set access token environment variable.

# shell
export GITHUB_TOKEN=<your github pat>

Get repo health as pandas DataFrame.

# python
import os
from GitHubHealth.main import ACCESS_TOKEN_VAR_NAME
from GitHubHealth import GitHubHealth
my_repo_health = GitHubHealth(gat=os.environ[ACCESS_TOKEN_VAR_NAME], timeout=4)
my_repo_health.user.get_repo_df()
my_repo_health.user.repo_df

Launch Flask app to view repo health tables and plots.

# python
from GitHubHealth import app
app.run()
# python
raise Exception

Contributing

Collaborators can be added on a case by case basis so please reach out if you would like to
contribute. As this is a personal hobby I will review any PRs and manage access and deployment
myself. I welcome any issues and feature requests to be submitted and will try to reply in a
timely manner. Please make sure to update tests as appropriate. I advise using use pre-commit to
help with automated testing and adhering to pylint and black formatting standards.

License

MIT

Metadata

Release files for GitHubHealth 0.0.0.1641127350

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

Source distribution (sdist)

Source distribution for GitHubHealth 0.0.0.1641127350
File Size Uploaded Provenance Actions
GitHubHealth-0.0.0.1641127350.tar.gz 114.7 kB Without provenance Details for GitHubHealth-0.0.0.1641127350.tar.gz

Built distribution (wheel)

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

Total release size: 227.1 kB

Release files / GitHubHealth-0.0.0.1641127350.tar.gz

Download URL GitHubHealth-0.0.0.1641127350.tar.gz
Size 114.7 kB
Tags Source
SHA-256 checksum
How to use checksums
51c8d5cb7757390575f7b4e5af9e7b5bf0e9437cf9195a7796cd2d12c7a56482
BLAKE2b-256 checksum
How to use checksums
6635a1e034d03f013b1c9a0f1d04c48c587095b1baa9dbf9d1bf998472561934
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

Release files / GitHubHealth-0.0.0.1641127350-py3-none-any.whl

Download URL GitHubHealth-0.0.0.1641127350-py3-none-any.whl
Size 112.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9fca4e5dfe95525fb9c23516da27198ff148a4247fb791454d9e2337233aeffb
BLAKE2b-256 checksum
How to use checksums
0c6d1b553ae189f4038688e261adfb9c30db0cf3d8550cebdbd945a3b5b17d9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

Security for GitHubHealth 0.0.0.1641127350

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.

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