aiogithubapi
Asynchronous Python client for the GitHub API
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 aiogithubapiuv
uv add aiogithubapipoetry
poetry add aiogithubapiInstalling 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
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
aiohttp-retryWraps aiohttp's ClientSession to automatically…
permissive · top 1,000 on PyPI
aiowithingsAsynchronous Python client for fetching data…
permissive · top 15,000 on PyPI
spotifyaioAsynchronous Python client for fetching data…
permissive · top 15,000 on PyPI
pyhaversionFetches the latest Home Assistant version…
permissive · top 15,000 on PyPI
simileA Python client library for interacting with…
permissive · top 15,000 on PyPI
aioauthaioauth implements the OAuth 2.0 protocol for…
permissive · top 15,000 on PyPI
aiohasupervisorAsynchronous Python client library for…
permissive · top 15,000 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
aiounifiAsynchronous Python library for communicating…
permissive · top 15,000 on PyPI
gidgethubGidgethub is an asynchronous GitHub API library…
permissive · top 15,000 on PyPI