Python Library for VIZ¶
This library is in alpha state, API unstable
Built on top of python-graphenelib
Installation¶
Dependencies:
sudo apt-get install libffi-dev libssl-dev python-dev
Current published version could be installed via
pip install viz-python-lib
Manual installation:
Install poetry
cd viz-python-lib/
poetry install
Basic read query example:¶
from viz import Client
from pprint import pprint
node = 'wss://solox.world/ws'
viz = Client(node=node)
pprint(viz.info())
Direct RPC calls:
viz.rpc.some_rpc_method()