Prerequisites
Before getting started:- Obtain a Privy app ID and app secret from the Privy Dashboard
- Install Python 3.9 or later
Instantiating the PrivyClient
Import PrivyClient and create an instance with your Privy app ID and app secret.
client is the entry point for managing Privy resources from a server. It provides services
for creating wallets, signing and sending transactions, retrieving and creating users, and managing
apps, organizations, policies, key quorums, and webhooks.
The client owns an HTTP connection pool. Close it when your application shuts down, or use it as a
context manager for shorter-lived scripts:
Authorization
If a resource (such as a wallet, policy, or key quorum) has an owner, requests that modify it require authorization signatures from the owner. An authorization context can contain authorization private keys and user JWTs. The Python SDK uses the authorization context to generate and attach the required signatures automatically.request_options=request_options to an operation on an owned resource.
Rate limits
Privy rate limits REST API endpoints called from a server.Next steps
Quickstart
Create wallets, sign messages, and send transactions with the Python SDK.
Authorization keys
Add an extra layer of security by signing requests with authorization keys.

