Skip to main content

An asynchronous python wrapper around the GitHub API

Project description

Github API Wrapper

.. image:: https://discord.com/api/guilds/963406460107235328/widget.png :target: https://discord.gg/DWhwsQ5TsT :alt: 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 git+https://github.com/VarMonke/Github-Api-Wrapper

#Windows py -m pip install -U git+https://github.com/VarMonke/Github-Api-Wrapper

Quick Example

.. code:: py

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)

.. code:: sh #Output <User login: 'GithubPythonBot', id: 104489846, created_at: 2022-04-27 07:31:26> https://github.com/GithubPythonBot

Links

Discord Server <https://discord.gg/DWhwsQ5TsT>_

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

Uploaded Source

Built Distribution

github-1.2.1-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: github-1.2.1.tar.gz
  • Upload date:
  • Size: 14.3 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.1.tar.gz
Algorithm Hash digest
SHA256 d58364c6ca4232d50547b2c3c3d5914479fa8104ba1ea78cfe0953c5132289e5
MD5 8df967eb9fcd983ecca1eb7c72dec622
BLAKE2b-256 bd2340c89ab237c51061c887940f3cc29d673db3f8ebc04faa4cff9acd1405eb

See more details on using hashes here.

File details

Details for the file github-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: github-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for github-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f7c5cafe02a360649acb81ce638dc19b5031decbdac3b0c4d1de2114a02f69c1
MD5 2b060032edfd5f6cbef74998e36a94e0
BLAKE2b-256 35e9401537b2a9bffa355aff46e4b7a0d9ca588fd2557c8e232daf191c165c07

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