Skip to content

Python bindings to chainql, Substrate blockchains querier

License

Notifications You must be signed in to change notification settings

UniqueNetwork/pychainql

Repository files navigation

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.

About

Python bindings to chainql, Substrate blockchains querier

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published