Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

solana-py

Python SDK for interacting with Solana blockchain and building on-chain programs.

Crypto and web3 PyPI

Used in agent projects
342
2.7% of 12,697 public repos built with AI coding agents
Rank in crypto and web3
#9 of 89
by use in those projects
Downloads
247K
PyPI, last 7 days, solana
GitHub stars
1,445
last push Oct 4, 2026

How solana-py is used

solana-py is a dependency in 342 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (2.7%), #9 of 89 in crypto and web3. The most used alternative there is Solana Web3.js. Projects that use it most often also use solders (98.5%), Requests (65.8%), python-dotenv (63.7%).

Often used with solana-py

solders98.5% of solana-py projects · 29.6× more than average
Requests65.8% of solana-py projects · 12.4× more than average
python-dotenv63.7% of solana-py projects · 9.8× more than average
base5855.3% of solana-py projects · 29.0× more than average
websockets43.6% of solana-py projects · 19.3× more than average
aiohttp38.3% of solana-py projects · 16.5× more than average
Construct33.3% of solana-py projects · 36.5× more than average
NumPy29.5% of solana-py projects · 7.7× more than average

By coding agent

Claude Code0.3% of projects set up for it

Share of public repos configured for each agent that list solana-py as a dependency.

Install

Packagepip install solana
Main stacksPython (340), React Native / Expo (1), Next.js (1)
Example projectsJosh-XT/AGiXT, imbue-bit/AlphaGPT, solana-developers/solana-cookbook, nmweaver/soltrade, henrytirla/Solana-Trading-Bot

Alternatives to solana-py

All crypto and web3

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Solana Web3.js npm
Official JavaScript SDK for interacting with the Solana blockchain.
2,099 (16.5%) 2.6M 2,767 MIT
viem npm
TypeScript interface for Ethereum with type-safe interactions.
1,566 (12.3%) 6.5M 3,577 MIT
Solana SPL Token npm
JavaScript API for interacting with Solana's SPL Token program.
924 (7.3%) 1.2M 223 Apache-2.0
wagmi npm
React hooks library for Ethereum interactions and wallet connections.
650 (5.1%) 1M 6,759 MIT
ethers.js npm
Complete Ethereum library for building dapps, wallets and blockchain tools.
574 (4.5%) 3.6M 8,710 MIT
Solana Wallet Adapter npm
React hooks and UI for connecting Solana wallets to dapps with state management.
547 (4.3%) 1M 2,030 Apache-2.0
Anchor npm
Framework for developing Solana smart contracts with TypeScript and Rust.
438 (3.4%) 851K 5,142 (MIT OR Apache-2.0)
solders pypi
Python bindings for Solana Rust tools enabling efficient blockchain interaction.
423 (3.3%) 388K 449 —
Is solana-py right for your project? Ask AgentGid →