Skip to main content

Developer-friendly digest of GitHub PRs that need your attention

Project description

gh-pr-digest

PyPI version Python versions License: MIT

Developer-friendly digest of GitHub PRs that need your attention.

Install

pip install gh-pr-digest

Auth (GITHUB_TOKEN)

Set a personal access token (classic or fine-grained with Issues/PR read):

export GITHUB_TOKEN=ghp_your_token_here
# or
export GH_TOKEN=ghp_your_token_here

If neither is set, the CLI falls back to gh auth token when the GitHub CLI is available.

60-second demo

pip install gh-pr-digest
export GITHUB_TOKEN=ghp_...   # or: gh auth login

# Human-readable digest for the authenticated user
gh-pr-digest

# Limit to one repo + machine output
gh-pr-digest --repo owner/name --json

# Also surface your open PRs with failing combined commit status
gh-pr-digest --with-ci

What you get

  1. PRs awaiting your review — Search: is:pr is:open review-requested:<you>
  2. Your open PRs — Search: is:pr is:open author:<you>
  3. Failing checks (optional --with-ci) — Combined commit status for your open PRs

Exit codes

Code Meaning
0 Success
1 Usage / HTTP / rate-limit errors
2 Authentication error

Development

python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gh_pr_digest-0.1.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gh_pr_digest-0.1.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file gh_pr_digest-0.1.0.tar.gz.

File metadata

  • Download URL: gh_pr_digest-0.1.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for gh_pr_digest-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f23365c7afce3a26528e63a7576a94c1015a952f923d6ec41daa267260f57ad7
MD5 48590950b7ae5cd5b0437a8cdda8f805
BLAKE2b-256 17a7d7b5d4a10f5b426942de55321872222289cc521b454202e2c773ffa9deef

See more details on using hashes here.

File details

Details for the file gh_pr_digest-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gh_pr_digest-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for gh_pr_digest-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae95bebc1c3bd8df387c3f4e721bb582674efd8f657e72a4a79012eb71b226cf
MD5 5c3b03282d3f9dc3979eb9d6ec30ca86
BLAKE2b-256 ad998713a28f3977fa80de7e224ebf61675dbcc4b1eb922f03ab61ab139449f5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page