Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 865 Bytes

Readme.md

File metadata and controls

48 lines (31 loc) · 865 Bytes

PyChainql

Python bindings to chainql, Substrate blockchains querier.

Use

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 project

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.

License

Project is licensed under Apache License, Version 2.0.