Metadata-Version: 2.1
Name: github-bot-api
Version: 0.6.0
Summary: API for creating GitHub bots and webhooks in Python.
License: MIT
Author: Niklas Rosenstein
Author-email: rosensteinniklas@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: PyGithub (>=1.58,<2.0)
Requires-Dist: PyJWT (>=2.6.0,<3.0.0)
Requires-Dist: cryptography (>=42.0.5,<43.0.0)
Requires-Dist: flask
Requires-Dist: requests (>=2.28.2,<3.0.0)
Requires-Dist: urllib3 (>=1.26.15,<2.0.0)
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
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/).

