Solana.py
Solana Python API built on the JSON RPC API.
Python version of solana-web3.js for interacting with Solana.
Read the Documentation.
Quickstart
Installation
pip install solana
General Usage
import solana
API Client
from solana.rpc.api import Client
http_client = Client("https://devnet.solana.com")
Development
Setup
- Install pipenv.
brew install pipenv
- Install dev dependencies.
pipenv install --dev
- Activate the pipenv shell.
pipenv shell
Lint
make lint
Tests
# All tests
make tests
# Unit tests only
make unit-tests
# Integration tests only
make int-tests
Start a Solana Localnet
Install docker.
# Update/pull latest docker image
pipenv run update-localnet
# Start localnet instance
pipenv run start-localnet
Using Jupyter Notebook
make notebook
Metadata
Release files for solana 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| solana-0.1.1.tar.gz | 27.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| solana-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 60.5 kB
Release files / solana-0.1.1.tar.gz
| Download URL | solana-0.1.1.tar.gz |
|---|---|
| Size | 27.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ab9490f1c59582be1917b79f860aef2eafd9e8018bfeb28f0f99c0d9eb45310
|
|
BLAKE2b-256 checksum How to use checksums |
c84ddabd7f3e30b070a813cc5594b3f137129b69c3b806fdeb8a336247af695c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
|
Release files / solana-0.1.1-py3-none-any.whl
| Download URL | solana-0.1.1-py3-none-any.whl |
|---|---|
| Size | 32.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2af566a15bda2641c37634fb6fa784c70102862ea3505e5059bb4b683472d28e
|
|
BLAKE2b-256 checksum How to use checksums |
75d8f92d7c8d70fa4a83f5fd0bf10ecd473e19e91973ca0cac855424c480655f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
|