https://github.com/swinton/pygithub-playground
A playground, demonstrating how to use PyGithub with GitHub Apps.
https://github.com/swinton/pygithub-playground
github-apps pygithub pygithub-examples
Last synced: 11 days ago
JSON representation
A playground, demonstrating how to use PyGithub with GitHub Apps.
- Host: GitHub
- URL: https://github.com/swinton/pygithub-playground
- Owner: swinton
- License: isc
- Created: 2021-02-17T19:42:07.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-17T19:42:24.000Z (over 4 years ago)
- Last Synced: 2025-02-26T14:08:47.351Z (3 months ago)
- Topics: github-apps, pygithub, pygithub-examples
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# `pygithub-playground`
## About
A playground, demonstrating how to use [PyGithub](https://github.com/PyGithub/PyGithub) with [GitHub Apps](https://docs.github.com/en/developers/apps/creating-a-github-app).## Setup
**Install dependencies**On macOS:
```shell
brew bundle
```:warning: If this is the first time using `direnv`, be sure to [hook `direnv` into your shell](https://direnv.net/docs/hook.html).
**Setup environment**
Create a `.envrc` file from [the example provided](.envrc.example) and follow [the included directions](.envrc.example) to populate the required environment variables.
```shell
# populate .envrc
cp .envrc.example .envrc
```## Run the demo
```shell
pipenv run python demo.py
```