prawcore
Low-level communication layer for PRAW 4+.
Decision gist · record as of 2026-08-14
Yes. prawcore is actively maintained, has low install friction, carries a permissive BSD license, and is the official low-level layer for PRAW 4+. Install it if you need direct Reddit API access or are building on top of PRAW. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires environment variables PRAWCORE_CLIENT_ID and PRAWCORE_CLIENT_SECRET to be set with valid Reddit application credentials.
- Low friction install with a single dependency (requests).
- Actively maintained with a release 62 days ago and recent commits; supports modern Python versions 3.10 through 3.14.
License · maintenance · safety
permissive license (permissive) — BSD license (permissive) allows commercial and private use with minimal restrictions; you must retain copyright notice and disclaimer in distributions.
last release 2026-06-13 (62 days) · last repo commit 2026-08-14 · 27 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,717,833 downloads/mo, #3,621 on PyPI
Alternatives
Verify before relying
pip install prawcore
import os
import prawcore
authenticator = prawcore.TrustedAuthenticator(
client_id=os.environ["PRAWCORE_CLIENT_ID"],
client_secret=os.environ["PRAWCORE_CLIENT_SECRET"],
requestor=prawcore.Requestor(user_agent="YOUR_VALID_USER_AGENT"),
)
authorizer = prawcore.ReadOnlyAuthorizer(authenticator=authenticator)
authorizer.refresh()
with prawcore.session(authorizer=authorizer) as session:
session.request(method="GET", path="/api/v1/user/example/trophies")- Rate limiting and retry behavior for Reddit API throttling
- Error handling and exception types for common API failures
- Support for different Reddit authentication flows beyond TrustedAuthenticator
What it is and what it does
prawcore is a low-level HTTP communication and authentication layer designed specifically for Reddit API interaction. It handles the mechanics of connecting to Reddit's API endpoints, managing OAuth authentication flows, and translating Python method calls into properly formatted HTTP requests and responses. The package abstracts away the details of HTTP session management, request signing, and credential handling so that higher-level libraries like PRAW can focus on domain logic.
You use prawcore when you need direct, granular control over Reddit API calls or when building tools that interact with Reddit at the protocol level. It provides authenticators for different credential types (script apps, read-only access, etc.) and a session context manager for making authenticated requests. The package follows semantic versioning and is designed to be a stable foundation for other Reddit client libraries.
Use it for
- Build custom Reddit API clients or bots that need finer control than PRAW provides
- Implement read-only Reddit data scrapers with proper authentication and session management
- Create server-side applications that need to fetch Reddit user data or subreddit information
- Develop tools that interact with Reddit's OAuth flow for user authentication
- Integrate Reddit API calls into larger data pipelines or monitoring systems
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
prawcore is actively maintained, has low install friction, carries a permissive BSD license, and is the official low-level layer for PRAW 4+. Install it if you need direct Reddit API access or are building on top of PRAW. No known security vulnerabilities.
Install
prawcore on PyPI
Before you install
Low friction install with a single dependency (requests). Actively maintained with a release 62 days ago and recent commits; supports modern Python versions 3.10 through 3.14.
Requires environment variables PRAWCORE_CLIENT_ID and PRAWCORE_CLIENT_SECRET to be set with valid Reddit application credentials.
License in practice
BSD license (permissive) allows commercial and private use with minimal restrictions; you must retain copyright notice and disclaimer in distributions.
Quickstart
pip install prawcore
import os
import prawcore
authenticator = prawcore.TrustedAuthenticator(
client_id=os.environ["PRAWCORE_CLIENT_ID"],
client_secret=os.environ["PRAWCORE_CLIENT_SECRET"],
requestor=prawcore.Requestor(user_agent="YOUR_VALID_USER_AGENT"),
)
authorizer = prawcore.ReadOnlyAuthorizer(authenticator=authenticator)
authorizer.refresh()
with prawcore.session(authorizer=authorizer) as session:
session.request(method="GET", path="/api/v1/user/example/trophies")
Verify before relying
- Rate limiting and retry behavior for Reddit API throttling
- Error handling and exception types for common API failures
- Support for different Reddit authentication flows beyond TrustedAuthenticator
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Actively maintained 62 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,717,833 / month, #3,621 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed |
Evidence: prawcore-4.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “reddit authentication”
- prawcoreprawcore provides low-level HTTP communication and authentication…
- asyncprawcoreasyncprawcore provides a low-level async HTTP communication layer for…
- prawPRAW provides a Python interface to Reddit's API, handling…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also asyncprawcore · praw · asyncpraw · requests-oauthlib · redditwarp · elasticsearch6 · pipedream · conjure-python-client · elasticsearch5 · botocore