Skip to main content

An asynchronous python wrapper around the GitHub API

Project description

Discord Server Invite

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

github-1.2.4.tar.gz (14.0 kB view details)

Uploaded Source

File details

Details for the file github-1.2.4.tar.gz.

File metadata

  • Download URL: github-1.2.4.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for github-1.2.4.tar.gz
Algorithm Hash digest
SHA256 a75a28ea9e17a5dbd0b3f1ab5f3fe0f788a3a13fd1b257ee687b390f28ee2f15
MD5 ecd5281c30a132ebff01f36fe4e3d846
BLAKE2b-256 c1be6cbf04b8d944f4e38fc0b81f2e7269d7e26493514c98ee39f1cb8189b5e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page