Skip to main content

python-github-bot-api

PyPI - Python Version

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:

from github import Github
client: Github = app.app_client()

Create a PyGithub client for an app's installation scope:

from github import Github
client: Github = app.installation_client(45678)

For more examples, check out the documentation.

Metadata

Release files for github-bot-api 0.7.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for github-bot-api 0.7.12
File Size Uploaded Provenance Actions
github_bot_api-0.7.12.tar.gz 12.0 kB Without provenance Details for github_bot_api-0.7.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for github-bot-api 0.7.12
File Interpreter ABI Platform Actions
github_bot_api-0.7.12-py3-none-any.whl Python 3 none any Details for github_bot_api-0.7.12-py3-none-any.whl

Total release size: 27.4 kB

Release files / github_bot_api-0.7.12.tar.gz

Download URL github_bot_api-0.7.12.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fc984f6ca79787bc8a1112497498139896098bf784e645f03e76e6204f5394b0
BLAKE2b-256 checksum
How to use checksums
5292dd33dc502757604d90c0364a9bfa1f1ffd2442f4de1ed01a682e0e3dedb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.13

Release files / github_bot_api-0.7.12-py3-none-any.whl

Download URL github_bot_api-0.7.12-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dfc8ecce906203ba88a55f050b885efa9be4753cf0300d2aeca98b8444241230
BLAKE2b-256 checksum
How to use checksums
65616a07296b56b695efa3b147613820a22dd5733f5fc084b0c260a498499359
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.13

Security for github-bot-api 0.7.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page