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
Metadata
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 | Provenance | Actions |
|---|---|---|---|---|
| github-1.2.4.tar.gz | 14.0 kB | Without provenance | Details for github-1.2.4.tar.gz |
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
|
Security for github 1.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.