Registry / http-networking / asyncprawcore

asyncprawcore

JSON →
library4.0.0pypypi✓ verified 85d ago

asyncprawcore is the low-level asynchronous communication layer for Async PRAW 7+. It handles HTTP requests, rate limiting, and authentication. Version 3.0.2 supports Python >=3.9. Release cadence is irregular, typically updated alongside Async PRAW.

pip install asyncprawcore
INSTALL
IMPORT
SIG · ASYNCPRAWCORE
A
asyncprawcore
http-networkingpythonv4.0.0
Install
3.9s avg
Import
653ms
Disk
27MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v4.0.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.684s · 27.1MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.9s · import 0.622s · 29MB
27MB installed
● package 27MB
Code
Verified usage

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

Authorizer
from asyncprawcore import Authorizer
from asyncprawcore.auth import Authorizer
Authorizer is a top-level export, not in auth module.
Requestor
from asyncprawcore import Requestor
from asyncprawcore.requestor import Requestor
Requestor is a top-level export.
rate_limit
from asyncprawcore import rate_limit
rate_limit is not a top-level symbol; use aiosqlite or other mechanisms to track it yourself.

Minimal example to instantiate Requestor and Authorizer.

import asyncio from asyncprawcore import Requestor, Authorizer async def main(): requestor = Requestor("testapp/0.1") authorizer = Authorizer(requestor) print("asyncprawcore ready") await requestor.close() asyncio.run(main())
Debug
Known issues
breakingasyncprawcore 3.0.0 drops support for Python 3.8 and requires asyncpraw 7+.
fix
Upgrade Python to >=3.9 and asyncpraw to 7+.
affects: >=3.0.0
gotchaThe Requestor session is not automatically closed. Always call `await requestor.close()` to avoid resource leaks.
fix
Use async context manager or explicitly close the requestor.
affects: all
gotchaRate limit information is not exposed via asyncprawcore. You must implement your own rate limiting or rely on asyncpraw's built-in handling.
fix
Use asyncpraw's rate limit handling or implement custom tracking.
affects: all
Errors
Common errors & fixes
AttributeError: module 'asyncprawcore' has no attribute 'Authorizer'
Importing from a wrong path or using an outdated version.
fix
Ensure you have asyncprawcore >=3.0 and use `from asyncprawcore import Authorizer`.
TypeError: __init__() got an unexpected keyword argument 'username'
Attempting to pass authentication parameters to Requestor.
fix
Requestor only takes a user_agent string. Authentication is handled by Authorizer.
Upgrade
Version history
4.0.0latest on PyPI · released Jun 13, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
45 hits · last 30 days
node
38
Amazon
1
OpenAI (training)
1
Resources
asyncprawcore — pip install asyncprawcore · libregistry