Python bindings to chainql, Substrate blockchains querier.
PyChainql requires Python 3.10+.
You can either download binaries from the latest release or install it with pip:
pip install chainql
Stubs can be found here, examples here.
Build requirements:
- Rust 1.80+
- Python 3.10+
- pyenv
- maturin
First, create and activate a virtualenv environment:
$ pyenv virtualenv 3.11 pychainql
$ pyenv activate pychainql
Then install maturin:
$ pip install maturin patchelf
And build the project:
$ maturin build --release
The built wheel will be located in the target/wheels
directory.
Project is licensed under Apache License, Version 2.0.