Registry / http-networking / aiogithubapi

aiogithubapi

JSON →
library26.0.0pypypi✓ verified 84d ago

Asynchronous Python client for the GitHub API. Current version 26.0.0, requires Python >=3.13. Uses aiohttp and supports the full GitHub REST API via an async client model. Release cadence is irregular with major breaking changes in 26.0.0 (SemVer switch, Python 3.13 minimum, removal of deprecated helpers).

pip install aiogithubapi
INSTALL
IMPORT
SIG · AIOGITHUBAPI
A
aiogithubapi
http-networkingpythonv26.0.0
Install
4.1s avg
Import
629ms
Disk
28MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v25.5.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.664s · 28.2MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 4.1s · import 0.594s · 30MB
28MB installed
● package 28MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GitHubAPI
from aiogithubapi import GitHubAPI
GitHubClient
from aiogithubapi import GitHubClient

Create a GitHubAPI client, fetch authenticated user.

import os from aiogithubapi import GitHubAPI async def main(): token = os.environ.get('GITHUB_TOKEN', '') async with GitHubAPI(token=token) as api: user = await api.user.get() print(user.login)
Debug
Known issues
breakingVersion 26.0.0 drops Python <3.13 and removes the deprecated sigstore_verify_release_asset helper.
fix
Upgrade to Python >=3.13 and replace any use of sigstore_verify_release_asset with direct sigstore calls.
affects: <26.0.0
breakingVersion 26.0.0 switches from CalVer to SemVer. Older versions like 23.2.0 used CalVer; 26.0.0 is the first SemVer release. Do not expect backwards compatibility.
fix
Pin to exact version and test before upgrading.
affects: >=26.0.0
gotchaThe library uses context managers; forgetting to use `async with` will raise a RuntimeError.
fix
Always use `async with GitHubAPI(...) as api:`.
affects: all
Errors
Common errors & fixes
RuntimeError: Client is not initialized correctly.
Creating GitHubAPI without async context manager.
fix
Use `async with GitHubAPI(token='...') as api:`
ModuleNotFoundError: No module named 'aiogithubapi'
Library not installed.
fix
Run `pip install aiogithubapi`
Upgrade
Version history
26.0.0latest on PyPI · released Feb 28, 2026
Audit
Dependencies
aiohttprequiredCore HTTP client
async-timeoutrequiredTimeout handling
Agent activity
53 hits · last 30 days
node
46
OpenAI (training)
1
Resources