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.0.5.tar.gz
(26.2 kB
view details)
Built Distribution
solana-0.0.5-py3-none-any.whl
(31.2 kB
view details)
File details
Details for the file solana-0.0.5.tar.gz
.
File metadata
- Download URL: solana-0.0.5.tar.gz
- Upload date:
- Size: 26.2 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.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bc3f0402717bfa7f9618c672cfbfed44eec00b5e00f68b477b617fd3bfc6964 |
|
MD5 | c1cea6ea8098a8eaba7125213bbd3220 |
|
BLAKE2b-256 | ade287466f84caff23ba9a9d706131de0bc64e865cde3fa3d7686525827f7e80 |
File details
Details for the file solana-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: solana-0.0.5-py3-none-any.whl
- Upload date:
- Size: 31.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.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39231f55fe3a1fcc2d3b52dd8a9db4a10dfcd3af128f60025639dabb895c8cc9 |
|
MD5 | 1cb9a4ab6d9351cbff39fd5b5c7c832f |
|
BLAKE2b-256 | e7e044320fa1fa41c8d669bbd7c68f1569939a2eb72e06bd08fcaecef1c5347e |