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.6.0.tar.gz
(39.6 kB
view details)
Built Distribution
solana-0.6.0-py3-none-any.whl
(47.4 kB
view details)
File details
Details for the file solana-0.6.0.tar.gz
.
File metadata
- Download URL: solana-0.6.0.tar.gz
- Upload date:
- Size: 39.6 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 | d6cae05a3f8fc388529847559a6909ceb9d59f56f7848139b816e99cf3191523 |
|
MD5 | 98880f80b3bcbfd1e8ec48b2aaf365f8 |
|
BLAKE2b-256 | 8a750df0ff345a1f3de0be1eac8a08ed4c82e7c9277d6305b6d7e86102ee96fa |
File details
Details for the file solana-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: solana-0.6.0-py3-none-any.whl
- Upload date:
- Size: 47.4 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 | c617ec9eec901801175259a095a6d987ba5d7684a941ccd2ae32eb3e0e9134d0 |
|
MD5 | 4d66991df73c2ae686c9c8edcb47a860 |
|
BLAKE2b-256 | 20803c8f4466fe096ff295000d7be4eb9c0c361815baa83ebe5cff70ccfc5c15 |