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.6.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

github_bot_api-0.6.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: github_bot_api-0.6.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.2

File hashes

Hashes for github_bot_api-0.6.0.tar.gz
Algorithm Hash digest
SHA256 1b160b5fb526741f33cbf2324f016dea4397b56d050746321b7baf74da5277d6
MD5 e830ccd8a4a5b284ae07bda5465d0d40
BLAKE2b-256 ed2e9e8a1930b0841aeca26d11ba368f7ce8ed921f7ac2e78f0bf916c95a7f57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for github_bot_api-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e078678428dc0e7f9aad07729569108fcb8893a6c5f62979fa789a68227b605
MD5 e7dc6484d440b4de9c0693c05b03351b
BLAKE2b-256 09e62f4ae5f996bcdfcebe4cc6bdebccc30a7e70ac532b0df89be6300be67753

See more details on using hashes here.

Supported by

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