Skip to main content

API for creating GitHub bots and webhooks in Python.

Project description

python-github-bot-api

PyPI - Python Version

A thin Python library for creating GitHub bots and webhooks in Python with PyGithub.

from github import Github
from github_bot_api import GithubApp
from pathlib import Path

app = GithubApp(
    user_agent='my-bot/0.0.0',
    app_id="67890",
    private_key=Path("app-private.key").read_text(),
)

client: Github = app.installation_client(12345)

For more examples, check out the documentation.

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

github_bot_api-0.7.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

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

github_bot_api-0.7.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file github_bot_api-0.7.0.tar.gz.

File metadata

  • Download URL: github_bot_api-0.7.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.1

File hashes

Hashes for github_bot_api-0.7.0.tar.gz
Algorithm Hash digest
SHA256 fc80c3fff310746ead87f97f5cefd45a9884fd040f0512983abe3e8a0455781a
MD5 2b3aa4f556211b548f0372c8e3eff0b8
BLAKE2b-256 17b94e612b4825778f95c3315e95bd6e6a9c813df961d770f0d2aeccdcf42832

See more details on using hashes here.

File details

Details for the file github_bot_api-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: github_bot_api-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.1

File hashes

Hashes for github_bot_api-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d88167db586f7ff45b774d76b4770c4bcb081ec5011810e9119a90a00b3fa658
MD5 5cb4783a5e3b1358f62a91998a0b32fc
BLAKE2b-256 23e74e935e78bc19d0621d545d6d585ca3e3b9e18bdd5651258d539866e3ba12

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