# michaelhly/solana-py

Solana Python SDK

Repository: https://github.com/michaelhly/solana-py
Canonical: https://ross.abutalabs.com/products/solana-py
Homepage: https://michaelhly.github.io/solana-py
Language: Python
License: MIT
License Family: permissive
Topics: solana, blockchain, python, sdk
Last push: 2026-08-16T21:47:18+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 90, longevity 100
- inputs: {"age_days": 2204, "days_push": 17, "days_rel": 67, "gap_med": 4, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1442, forks 341 (observed 2026-08-28T04:04:44.444299+00:00)

## What it is
Solana.py is the base Python SDK for interacting with the Solana blockchain, enabling transaction building and calls to the Solana JSON RPC API, including SPL Token Program support. It provides sync, async, and websocket clients and relies on the Solders package for core types.

## Use cases
- interact with the Solana blockchain from Python
- build and send Solana transactions in Python
- query Solana JSON RPC API
- work with SPL tokens programmatically
- subscribe to Solana logs via websockets
- build a Python trading bot for Solana
- read account balances and program data from Solana

## When to choose
- you need a Python client for Solana RPC and transactions
- you want async or websocket access to Solana nodes
- you are building Python tooling or bots on Solana

## When to avoid
- you need a JavaScript/TypeScript SDK (use solana-web3.js)
- you need Anchor program clients (use AnchorPy)
- you need a non-Solana blockchain SDK

## Facets
- artifact type: library
- maturity: active
- function: sdk, http-client, websocket, rpc
- domain: blockchain, developer-tools, apis
- platform: python, cross-platform
- tags: solana, spl-token, -rpc, async-client, web3, cryptocurrency

## Member repositories
- michaelhly/solana-py (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:44.444299+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:36:24.614852+00:00, confidence not recorded.
  - readme: https://github.com/michaelhly/solana-py (fetched 2026-08-28T04:04:44.444299+00:00, sha b4c49caeff91)
  - homepage: https://michaelhly.github.io/solana-py (fetched 2026-08-29T11:46:33.479908+00:00, sha fa4e95c5db93)
- Data as of 2026-08-30T08:39:29.467469+00:00.
