Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/gidgethub/gidgethub

An async GitHub API library for Python
https://github.com/gidgethub/gidgethub

aiohttp async github httpx python sans-io tornado treq twisted

Last synced: 2 days ago
JSON representation

An async GitHub API library for Python

Lists

README

        

gidgethub
=========
An asynchronous `GitHub API `_ library.

Development status
------------------

.. image:: https://github.com/brettcannon/gidgethub/workflows/CI/badge.svg?event=push
:target: https://github.com/brettcannon/gidgethub/actions

.. image:: https://codecov.io/gh/brettcannon/gidgethub/branch/master/graph/badge.svg
:target: https://codecov.io/gh/brettcannon/gidgethub

.. image:: https://readthedocs.org/projects/gidgethub/badge/?version=latest
:target: http://gidgethub.readthedocs.io/en/latest/
:alt: Documentation Status

Installation
------------
Gidgethub is `available on PyPI `_.
::

python3 -m pip install gidgethub

Gidgethub requires Python version 3.7 and up.

Goals
-----

The key goal is to provide a base library for the
`GitHub API `_ which performs no I/O of its own (a
`sans-I/O `_ library). This allows users to
choose whatever HTTP library they prefer while parceling out GitHub-specific
details to this library. This base library is then built upon to provide an
abstract base class to a cleaner API to work with. Finally, implementations of
the abstract base class are provided for asynchronous HTTP libraries for
immediate usage.

Alternative libraries
---------------------

If you think you want a different approach to the GitHub API,
`GitHub maintains a list of libraries `_.

*Aside*: what's with the name?
------------------------------

I couldn't think of a good name that was somehow a play on "GitHub" or somehow
tied into `Monty Python `_. And so I decided to play
off of GitHub's `octocat `_ mascot and use my own
cat's name, Gidget, in some way. Since "Gidget" somewhat sounds like
"git", I decided to go with "gidgethub".

Changelog
---------

See the documentation for the `full changelog `_.