skillfed

aiogithubapi

Asynchronous Python client for the GitHub API

aiogithubapi v26.0.0 244.6K downloads/30d#8,752 on PyPI28
Permissive license MIT Active released

What it is and what it does

aiogithubapi is an asynchronous Python client for the GitHub API built on aiohttp. It provides a modern interface (GitHubAPI) for making non-blocking requests to GitHub's REST endpoints, with automatic retry logic via backoff. The package is intentionally not a complete API wrapper—it covers features as they are needed or requested, and the maintainers encourage contributions for missing functionality.

The project is in active transition: a new API interface was introduced in August 2021, and the old modules (common, legacy, objects) and AIOGitHub* classes are now deprecated and will be removed. Developers using the package should migrate to the new GitHubAPI interface. The library requires Python 3.13 and depends only on aiohttp for HTTP handling and backoff for resilient retries.

Use it for:

  • Fetch repository metadata, issues, pull requests, or other GitHub resources asynchronously in a Python application.
  • Integrate GitHub API calls into async event loops or concurrent workflows without blocking.
  • Build GitHub automation tools or bots that need to make multiple non-blocking API requests.
  • Monitor GitHub repositories or organizations by polling for updates via async HTTP.
  • Implement GitHub webhooks or CI/CD integrations that require async API interactions.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Asynchronous Python client library for interacting with the GitHub API using aiohttp and backoff for resilient HTTP requests.

Yes, if you need an async GitHub API client for Python 3.13+. The package has low install friction, active maintenance, no known vulnerabilities, and a permissive MIT license. Be aware that the old API interface is deprecated—use the new GitHubAPI class. The package is intentionally incomplete and relies on community contributions for missing endpoints.

Install

aiogithubapi on PyPI

pip

pip install aiogithubapi

uv

uv add aiogithubapi

poetry

poetry add aiogithubapi

Installing aiogithubapi

Before you install

Low install friction with only two runtime dependencies (aiohttp and backoff). Repository is active with recent commits and automated release workflow via GitHub Actions.

License in practice

MIT license permits commercial and private use with minimal restrictions; you must include a copy of the license and copyright notice.

Quickstart

pip install aiogithubapi

import aiohttp
from aiogithubapi import GitHubAPI

async with aiohttp.ClientSession() as session:
    api = GitHubAPI(session, "username", oauth_token="token")
    # Make API calls via the GitHubAPI interface

Requires Python 3.13 or later; the new GitHubAPI interface is recommended as the old AIOGitHub* classes and modules are deprecated and will be removed in a future release.

Verify before relying

  • Specific GitHub API endpoints or resources covered by the new GitHubAPI interface (not detailed in the excerpt).
  • Whether the package handles pagination, rate limiting, or other common GitHub API patterns beyond backoff retry logic.
  • Performance characteristics or throughput limits for concurrent requests.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.13)
Install friction low — pure-Python wheel
Runtime dependencies 2 — aiohttp, backoff
Maintenance actively maintained — 167 days since the last release
Last repo commit
First released
Downloads 244,566/month — #8,752 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: aiogithubapi-26.0.0-py3-none-any.whl

Intended Audience :: DevelopersNatural Language :: EnglishTopic :: Software Development :: Libraries :: Python Modules

Tags

async github api clientpython github api asyncaiohttp github clientasynchronous github integrationgithub rest api python asyncgithub api wrapper async
async-httpgithub-integrationrest-api-client

More Python Modules packages