Python implementation of Borsh serialization, built on the Construct library.
Project description
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
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
borsh-construct-0.1.0.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for borsh_construct-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f584c791e2a03f8fc36e6c13011a27bcaf028c9c54ba89cd70f485a7d1c687ed |
|
MD5 | 2a40cd8b670198d43641864f78a47d20 |
|
BLAKE2b-256 | 211d52c0741626a17eb1a2f554e27dc2883f9bb98bb7b2392f9cbd1f39c36fea |