Metadata-Version: 2.1
Name: github-bot-api
Version: 0.7.0
Summary: API for creating GitHub bots and webhooks in Python.
Author-Email: Niklas Rosenstein <rosensteinniklas@gmail.com>
License: MIT
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Project-URL: Bug Tracker, https://github.com/NiklasRosenstein/python-github-bot-api/issues
Project-URL: Documentation, https://niklasrosenstein.github.io/python-github-bot-api/
Project-URL: Repository, https://github.com/NiklasRosenstein/python-github-bot-api
Requires-Python: <4.0,>=3.9
Requires-Dist: cryptography<44.0.1,>=44.0.0
Requires-Dist: pygithub>=2.5.0
Requires-Dist: PyJWT<3.0.0,>=2.6.0
Requires-Dist: requests<3.0.0,>=2.28.2
Requires-Dist: urllib3<2.4.0,>=2.3.0
Description-Content-Type: text/markdown

<p align="center"><img src="https://i.imgur.com/5SiDsz8.png"></p>
<h1 align="center">python-github-bot-api</h1>
<p align="center">
<a href="https://pypi.org/project/github-bot-api"><img alt="PyPI - Python Version" src="https://img.shields.io/pypi/pyversions/github-bot-api"></a></p>

  [PyGithub]: https://pypi.org/project/PyGithub/

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

```python
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](https://niklasrosenstein.github.io/python-github-bot-api/).
