Welcome to solana.py’s documentation!

PyPI version PyPI pyversions Codecov License

Solana.py is the Python API for interfacing with the Solana JSON RPC.

Installation

pip install solana

Usage

General usage:

import solana

API Client:

from solana.rpc.api import Client

http_client = Client("https://devnet.solana.com")

Indices and tables