Solana.py
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
solana-0.2.0.tar.gz
(34.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
solana-0.2.0-py3-none-any.whl
(41.2 kB
view details)
File details
Details for the file solana-0.2.0.tar.gz.
File metadata
- Download URL: solana-0.2.0.tar.gz
- Upload date:
- Size: 34.3 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ccb0696272ed91d9eff92a8b4840816d8a9383c3d7665eda591386560c54f70
|
|
| MD5 |
ac5d5378285c05226973e453ac5b47f7
|
|
| BLAKE2b-256 |
4d6f5d0a90f96d3986766c8d47a9e9ea9906582c7d4458cfb3a57f9363f09d84
|
File details
Details for the file solana-0.2.0-py3-none-any.whl.
File metadata
- Download URL: solana-0.2.0-py3-none-any.whl
- Upload date:
- Size: 41.2 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f607d4f66382bf37a76efed5b55e119842b65def23d1c5fe441619d04170e2df
|
|
| MD5 |
0f4a6e38517c818fc695c4cd8d595c15
|
|
| BLAKE2b-256 |
05977bc4286159fbe7fb7da00bad3213c8bf32194851eef50237710631b0c141
|