Awesome
borsh-construct
borsh-construct
is an implementation of the Borsh binary serialization format for Python projects.
Borsh stands for Binary Object Representation Serializer for Hashing. It is meant to be used in security-critical projects as it prioritizes consistency, safety, speed, and comes with a strict specification.
Read the Documentation.
Installation
pip install borsh-construct
Development Setup
- Install poetry
- Install dev dependencies:
poetry install
- Install nox-poetry (note: do not use Poetry to install this, see here)
- Activate the poetry shell:
poetry shell
Quick Tests
pytest
Full Tests
nox