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

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.1640205092
File Size Uploaded Provenance Actions
GitHubHealth-0.0.0.1640205092.tar.gz 110.5 kB Without provenance Details for GitHubHealth-0.0.0.1640205092.tar.gz

Built distribution (wheel)

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

Total release size: 218.7 kB

Release files / GitHubHealth-0.0.0.1640205092.tar.gz

Download URL GitHubHealth-0.0.0.1640205092.tar.gz
Size 110.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8a895fbac5647bbbb2e6862fb49c07b926e63a3dc4683e5ad0e89504789d992a
BLAKE2b-256 checksum
How to use checksums
3cbc4d786bbb339e8194832f94b81e241a5ea273d4a65f1a5b0338e733ae8759
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.1640205092-py3-none-any.whl

Download URL GitHubHealth-0.0.0.1640205092-py3-none-any.whl
Size 108.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be09a8690bb339f7fe4fb585ebb9e437d650f55c5a864445ce4aa9a98e67bc35
BLAKE2b-256 checksum
How to use checksums
5d89025650a050a2a37e7f3ae374ee2774587b68973beb3d442bf90d37e15d2e
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.1640205092

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