github-webhook-types
github-webhook-types provides generated Python types for GitHub webhook payloads.
The generated modules are built from @octokit/openapi-webhooks, derived from GitHub's official OpenAPI description. The repository commits generated Python code and source metadata, but it does not vendor the upstream schema JSON.
Install
pip install github-webhook-types
Quick Example
from github_webhook_types import parse_delivery
payload = parse_delivery("issues", b'{"action": "opened", "repository": {}, "sender": {}, "issue": {}}')