API for creating GitHub bots and webhooks in Python.
Project description
python-github-bot-api
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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b160b5fb526741f33cbf2324f016dea4397b56d050746321b7baf74da5277d6 |
|
MD5 | e830ccd8a4a5b284ae07bda5465d0d40 |
|
BLAKE2b-256 | ed2e9e8a1930b0841aeca26d11ba368f7ce8ed921f7ac2e78f0bf916c95a7f57 |
File details
Details for the file github_bot_api-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: github_bot_api-0.6.0-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e078678428dc0e7f9aad07729569108fcb8893a6c5f62979fa789a68227b605 |
|
MD5 | e7dc6484d440b4de9c0693c05b03351b |
|
BLAKE2b-256 | 09e62f4ae5f996bcdfcebe4cc6bdebccc30a7e70ac532b0df89be6300be67753 |