Robonomics wrapper over https://github.com/polkascan/py-substrate-interface created to facilitate programming with Robonomics
Project description
robonomics-interface
This is a simple wrapper over https://github.com/polkascan/py-substrate-interface used to facilitate writing code for applications using Robonomics.
Robonomics project: https://robonomics.network/
Robonomics parachain dapp: https://parachain.robonomics.network/
Documentation: https://multi-agent-io.github.io/robonomics-interface/
Installation
pip3 install robonomics-interface
Contributing
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Pull Request Process
- Install poetry
- Git clone the repository
- Install requirements with
poetry install
Installing substrate_interface
may require Rust and
Rustup nightly.
- Add functions/edit code/fix issues.
- Make a PR.
- ...
- Profit!
Some important rules
- If needed, install dependencies with
poetry add <lib>
- Use
ReStructuredText
docstrings. - Respect typing annotation.
- Add documentation. Please take in consideration that if a new class was created, add it to
docs/source/modules.rst
. Other functionality is better to be described indocs/source/usage.rst
- Black it:
black -l 120 <modified_file>
- Check how the docs look via
make html
from thedocs
folder and checking thedocs/build/html/index.html
page. - Do not bump version.
- One may test the code by
# in project root
poetry build
pip3 uninstall robonomcis_interface -y #if was installed previously
pip3 install pip3 install dist/robonomics_interface-<version>-py3-none-any.whl
python3 <testing_script>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file robonomics_interface-1.3.6.tar.gz
.
File metadata
- Download URL: robonomics_interface-1.3.6.tar.gz
- Upload date:
- Size: 22.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.9.14 Linux/5.15.0-1020-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7ba5895e5e36de72c3a1dca7163f7caab1b66c74ccfa55e79e119f30a46dbe3 |
|
MD5 | c14bb09edaa5a5615dd3868295cc9720 |
|
BLAKE2b-256 | 31d82d1b928b685edc30251d3f30f92fd632f425ad9201d3ce296306f0b0e3c5 |
File details
Details for the file robonomics_interface-1.3.6-py3-none-any.whl
.
File metadata
- Download URL: robonomics_interface-1.3.6-py3-none-any.whl
- Upload date:
- Size: 35.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.9.14 Linux/5.15.0-1020-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 940a1baa3d6e2b073f9016b44229950cc4c003d3dfb0156420348dcd4c25e333 |
|
MD5 | 91592d056d77f0f835a940dd4e5bda06 |
|
BLAKE2b-256 | 35263be57db4796cc8b1d4eb6cafd71118cd93aa27b0a6e50a2ac667b353a38b |