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.2.tar.gz
(34.5 kB
view details)
Built Distribution
solana-0.2.2-py3-none-any.whl
(41.4 kB
view details)
File details
Details for the file solana-0.2.2.tar.gz
.
File metadata
- Download URL: solana-0.2.2.tar.gz
- Upload date:
- Size: 34.5 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 | 284811635a3339400a357f18a7891e95310a97ef4560767ee16cbf17fbcda9f2 |
|
MD5 | 76b998b4a9e02683ed01c9d452d5c409 |
|
BLAKE2b-256 | e6eeac674b7cafa6f8f1d1d6aac103f8c16066a1c07cf86f553fbf70794e1b3c |
File details
Details for the file solana-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: solana-0.2.2-py3-none-any.whl
- Upload date:
- Size: 41.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 | 6698d5374929af6d86ce4c00e64f9926bbc01928623ea34a4f48df53c03391d4 |
|
MD5 | d2aa5b18279f5e7931e08e47195fc45a |
|
BLAKE2b-256 | acbec0d2379e24d95b5b4f8a7dd7dc5d73dfc5954c8528ed3e6e2c0348388b76 |