Skip to content


Repository files navigation

Python Library for VIZ

Tests Status Documentation Status

This library is in alpha state, API unstable

Built on top of python-graphenelib


Linux dependencies

sudo apt-get install libffi-dev libssl-dev python-dev

Windows dependencies

Install regular version of OpenSSL (not Light) suitable for your core processor.

MacOS dependencies

Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries. This means that you will need to install and export some OpenSSL settings yourself, before you can install viz-python-lib:

brew install openssl

and then use the following commands:

export CFLAGS="-I$(brew --prefix openssl)/include"
export LDFLAGS="-L$(brew --prefix openssl)/lib"


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://'

viz = Client(node=node)

Direct RPC calls: