solana
Solana.py
Decision gist · record as of 2026-08-14
Yes. Solana.py is the canonical Python SDK for Solana development, actively maintained with no known vulnerabilities, permissive MIT licensing, and low install friction. Install it if you are building on Solana in Python. The only caveat is the Python 3.11+ requirement; if you are on an older version, you cannot use this package.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later.
- The async API examples assume familiarity with asyncio.
- Low friction install with a pure-Python wheel.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) — you can use, modify, and distribute this package with minimal restrictions, provided you include the license notice.
last release 2026-07-17 (28 days) · last repo commit 2026-08-01 · 1,439 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,112,744 downloads/mo, #4,353 on PyPI
Alternatives
Verify before relying
pip install solana
import asyncio
from solana.rpc.async_api import AsyncClient
async def main():
async with AsyncClient("https://api.devnet.solana.com") as client:
res = await client.is_connected()
print(res)
asyncio.run(main())- Whether the package is actively maintained beyond the latest commit date shown (2026-08-01).
- Performance characteristics and rate-limiting behavior when making high-volume RPC calls.
- Completeness of SPL Token Program coverage compared to the official Solana documentation.
What it is and what it does
Solana.py is the official Python SDK for the Solana blockchain. It provides async and websocket clients to interact with Solana's JSON RPC API, allowing you to query blockchain state, build and submit transactions, and monitor on-chain events. The package wraps core Solana types from the solders library and covers the SPL Token Program for token operations.
The library is designed for developers building Python applications on Solana—from simple queries to complex transaction construction. It supports both async/await patterns and context managers for resource management, making it suitable for production services. The package is actively maintained and supports current Python versions (3.11 through 3.14).
Use it for
- Query account balances, transaction history, and on-chain program state via the Solana RPC API.
- Build and submit transactions to the Solana blockchain from Python applications.
- Subscribe to real-time blockchain events (logs, account changes) using websocket connections.
- Interact with SPL Token Program for token transfers, minting, and account management.
- Integrate Solana blockchain functionality into async Python services and web frameworks.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Solana.py is the canonical Python SDK for Solana development, actively maintained with no known vulnerabilities, permissive MIT licensing, and low install friction. Install it if you are building on Solana in Python. The only caveat is the Python 3.11+ requirement; if you are on an older version, you cannot use this package.
Install
solana on PyPI
Before you install
Low friction install with a pure-Python wheel. Active maintenance: last commit 2026-08-01, release 28 days ago. Requires Python 3.11 or later. Six runtime dependencies including pydantic, solders, and websockets are all widely-used packages.
Requires Python 3.11 or later. The async API examples assume familiarity with asyncio.
License in practice
MIT license (permissive) — you can use, modify, and distribute this package with minimal restrictions, provided you include the license notice.
Quickstart
pip install solana
import asyncio
from solana.rpc.async_api import AsyncClient
async def main():
async with AsyncClient("https://api.devnet.solana.com") as client:
res = await client.is_connected()
print(res)
asyncio.run(main())
Verify before relying
- Whether the package is actively maintained beyond the latest commit date shown (2026-08-01).
- Performance characteristics and rate-limiting behavior when making high-volume RPC calls.
- Completeness of SPL Token Program coverage compared to the official Solana documentation.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesaiolimiterconstruct-typinghttpx2pydanticsolderswebsockets |
| Maintenance | Actively maintained 28 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,112,744 / month, #4,353 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: solana-0.40.1-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 › “solana blockchain python sdk”
- solanaSolana.py is a Python SDK for building transactions and interacting…
- cdp-sdkPython client library for the Coinbase Developer Platform that…
- x402Implements the x402 payment protocol with transport-agnostic client,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also anchorpy · solders · web3 · cdp-sdk · stellar-sdk · aptos-sdk · injective-py · x402 · cosmpy