Easy to use Python wrapper for the Github API.
Key Features
Modern Pythonic Interface
Easy to use
Installing
Python 3.8 or higher
To install the library, run the following command
#Linux/MacOS
python3 -m pip install -U github
#Windows
py -m pip install -U github
To download the production version, run the following command
#Linux/macOS
python3 -m pip install -U git+https://github.com/VarMonke/Github-Api-Wrapper
#Windows
py -m pip install -U git+https://github.com/VarMonke/Github-Api-Wrapper
Quick Example
import github
import asyncio
async def main():
client = await github.GHClient()
return await client.get_user(user='GithubPythonBot')
user = asyncio.run(main())
print(user)
print(user.html_url)
You can find more examples in the examples directory.
Links
Release files for github 1.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| github-1.2.4.tar.gz | 14.0 kB | Details |
Release files / github-1.2.4.tar.gz
| Download URL | github-1.2.4.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a75a28ea9e17a5dbd0b3f1ab5f3fe0f788a3a13fd1b257ee687b390f28ee2f15
|
|
BLAKE2b-256 checksum How to use checksums |
c1be6cbf04b8d944f4e38fc0b81f2e7269d7e26493514c98ee39f1cb8189b5e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.2
|