Skip to main content
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 .. code:: sh

#Linux/MacOS python3 -m pip install -U github

#Windows py -m pip install -U github

To download the production version, run the following command .. code:: sh

#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.

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.3.tar.gz (14.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: github-1.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 3ea66789c3f4a07158b754b4901e6bf7db1e2efbe25e45d3d3038e0d569a798d
MD5 25a63dbeabb7b5f6a989801e86e0d0ab
BLAKE2b-256 70f9de8625bac68bc4f2ed85fbbfa13838309777117e4d82b0b5114eba0dd63a

See more details on using hashes here.

Release history Release notifications | RSS feed

1.2.7

2 files

1.2.6

1 file

1.2.5

1 file

1.2.4

1 file

This release

1.2.3 This release

1 file

1.2.2

1 file

1.2.1

2 files

0.0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page