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

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.1641126251
File Size Uploaded Provenance Actions
GitHubHealth-0.0.0.1641126251.tar.gz 114.9 kB Without provenance Details for GitHubHealth-0.0.0.1641126251.tar.gz

Built distribution (wheel)

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

Total release size: 228.0 kB

Release files / GitHubHealth-0.0.0.1641126251.tar.gz

Download URL GitHubHealth-0.0.0.1641126251.tar.gz
Size 114.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1c81f0c090866a4aec909a31b4a48eca9a8a8273145608a321918718d0dfa55c
BLAKE2b-256 checksum
How to use checksums
8753960f4b8c9be3a8e7fd35158d8982e15b5c1a6c03f618dfb7fadd656932ac
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.1641126251-py3-none-any.whl

Download URL GitHubHealth-0.0.0.1641126251-py3-none-any.whl
Size 113.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
842c0e5acba18cf5756fc739d8eda29978aec9d0fe6556c0855485d77dfd68bf
BLAKE2b-256 checksum
How to use checksums
1fb726f6993f09e796c472447159c6d74e65e6a70df70f097100cc0aac196451
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.1641126251

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