Practical overview
When it fits
Use it when a Python application needs programmatic access to Solana RPC services, transaction-building support, asynchronous monitoring or SPL Token interactions.
Who it is for
- Python developers building Solana applications
- Teams creating backend services or developer scripts for Solana
- Developers building transaction, monitoring or SPL Token utilities
Documented uses
- Build and inspect Solana transactions
- Call the Solana JSON-RPC API from Python
- Monitor Solana activity through asynchronous WebSocket subscriptions
- Develop utilities for the SPL Token Program
Requirements & limits
The cited project is a public, non-archived GitHub repository and is licensed under MIT. The documented package setup uses `pip install solders` followed by `pip install solana`.
- It uses Python and exposes both asynchronous HTTP and WebSocket clients.
- WebSocket subscriptions use server-confirmed, connection-specific handles rather than raw subscription IDs.
- Many core types formerly associated with Solana Py are now provided by Solders.
- The repository documents JSON-RPC, transaction, WebSocket and SPL Token use cases.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up Solana Py for Python development
Install the documented dependencies and package needed to interact with the Solana JSON-RPC API.
Before you start
- Python environment
- uv for the documented development setup
- Access to the Solana Py repository and package installation tools
Steps
Install the Solders Python bindings with the command below.
pip install soldersInstall Solana Py with the command below.
pip install solanaFor repository development, install development dependencies with the command below.
uv syncActivate the virtual environment using the documented Windows or Linux/macOS command.
Expected outcome
The documented Python dependencies are installed, and repository developers have an activated environment for further work.
Guide limitations
- This guide documents installation and development setup, not application deployment or transaction execution.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 1 October 2026
- Original website title
- michaelhly/solana-py · Official homepage title · retained in its source language
Related options
AnchorPy — The project documentation points to AnchorPy as a Python client for Anchor-based programs on Solana.
Explore project →
