Skip to main content

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 is required to run the library

To install the library, run the following command:

.. code:: sh

On Linux or MacOS

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

On 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()

user = await client.get_user(user='GithubPythonBot')

print(user)
print(user.html_url)

asyncio.run(main())

.. code:: sh

Output

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

  • Discord Server <https://discord.gg/DWhwsQ5TsT>_
  • GitHub API Documentation <https://docs.github.com/en/rest>_

Metadata

Release files for github 1.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for github 1.2.7
File Size Uploaded Provenance Actions
github-1.2.7.tar.gz 14.8 kB Without provenance Details for github-1.2.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for github 1.2.7
File Interpreter ABI Platform Actions
github-1.2.7-py3-none-any.whl Python 3 none any Details for github-1.2.7-py3-none-any.whl

Total release size: 30.2 kB

Release files / github-1.2.7.tar.gz

Download URL github-1.2.7.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6206b890d6ed3fa5de2ca80372a7c9fb3e980c6c62d4557f3ee6f1cc109496be
BLAKE2b-256 checksum
How to use checksums
2c73536790dd0cc687a3a36dbeb729fe7a67630810e1754d893aa41858179740
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / github-1.2.7-py3-none-any.whl

Download URL github-1.2.7-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a60e3a9db4a7d10a6fb92023806fe57e930e28b8a09559b1813f3b45a6ff73e0
BLAKE2b-256 checksum
How to use checksums
b34095bd12e103a6875d27acde1335b84d61faa90ac5632eed550209f794841b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Security for github 1.2.7

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.

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