python-github-bot-api
A thin Python library for creating GitHub bots and webhooks in Python with PyGithub.
Quickstart
from github_bot_api import GithubApp
from pathlib import Path
app = GithubApp(
user_agent='my-bot/0.0.0',
app_id="12345",
private_key=Path("app-private.key").read_text(),
)
Create a PyGithub client for the app itself:
Create a PyGithub client for an app's installation scope:
For more examples, check out the documentation.