Skip to main content

Repo Health Score

A unified health scoring tool for GitHub repositories. Track dependency freshness, CI health, PR/issue age, and more — all in one letter grade.

Installation

pip install repo-health-score

Or install from source:

git clone https://github.com/CatfishGG/repo-health-score.git
cd repo-health-score
pip install -e .

Quick Start

# Set your GitHub token
export GITHUB_TOKEN=ghp_your_token_here

# Scan a single repo
repo-health-score owner/repo

# Scan all your repos
repo-health-score --all-repos

# Scan a specific user/org
repo-health-score --user some-org

# Output as JSON
repo-health-score owner/repo --output json

Score Dimensions

Dimension Weight What it measures
Dependencies 25% Security vulnerabilities, outdated packages
CI/CD 20% Build success rate, workflow health
Pull Requests 20% PR age, stale PRs, review turnaround
Issues 15% Issue age, stale issues, response rate
Community 10% License, contributing guidelines, templates
Documentation 10% README quality, doc freshness

Configuration

Custom Weights

repo-health-score owner/repo --weights '{"dependencies":0.4,"ci_cd":0.1}'

Output Formats

repo-health-score owner/repo --output summary  # Default: human-readable
repo-health-score owner/repo --output table     # Table view
repo-health-score owner/repo --output json      # Full JSON

Write to file

repo-health-score --all-repos --json-output health-report.json

Authentication

Personal Access Token (PAT)

export GITHUB_TOKEN=ghp_your_token
repo-health-score owner/repo

PAT requires repo scope for full access.

GitHub App (coming soon)

GitHub App authentication for organisations with tighter permissions.

License

MIT

Metadata

Release files for repo-health-score 0.1.0

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

Source distribution (sdist)

Source distribution for repo-health-score 0.1.0
File Size Uploaded Provenance Actions
repo_health_score-0.1.0.tar.gz 16.3 kB Without provenance Details for repo_health_score-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for repo-health-score 0.1.0
File Interpreter ABI Platform Actions
repo_health_score-0.1.0-py3-none-any.whl Python 3 none any Details for repo_health_score-0.1.0-py3-none-any.whl

Total release size: 35.8 kB

Release files / repo_health_score-0.1.0.tar.gz

Download URL repo_health_score-0.1.0.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
565f932e04425e66c33d5f437dac9eb1831c619c14ed9caf3cbc5287f229341f
BLAKE2b-256 checksum
How to use checksums
6071c50ce3ca02d529eeb38f93dfea77d2f0777bd74500a6709988fad3c4ee2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / repo_health_score-0.1.0-py3-none-any.whl

Download URL repo_health_score-0.1.0-py3-none-any.whl
Size 19.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21787f9d0cb2057993902829e078b8efe627d84d53fe7b0a9624bdfd2f43ec76
BLAKE2b-256 checksum
How to use checksums
9a0c3f85fc49e5821c55b8afdeb9b7d1216c8653dad05c5da9ad3361710d78f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for repo-health-score 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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