Skip to main content

Python implementation of Borsh serialization, built on the Construct library.

Project description

borsh-construct

Tests Docs

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

  1. Install poetry
  2. Install dev dependencies:
poetry install
  1. Install nox-poetry (note: do not use Poetry to install this, see here)
  2. Activate the poetry shell:
poetry shell

Quick Tests

pytest

Full Tests

nox

Project details


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

borsh_construct-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file borsh-construct-0.1.0.tar.gz.

File metadata

  • Download URL: borsh-construct-0.1.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for borsh-construct-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c916758ceba70085d8f456a1cc26991b88cb64233d347767766473b651b37263
MD5 b9ff411305de7d1d6dfe2951ff017c25
BLAKE2b-256 8e0c8062d8d795e7b9518923bfba453f883e2cbf80c5b05de699e4424a523a71

See more details on using hashes here.

File details

Details for the file borsh_construct-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: borsh_construct-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for borsh_construct-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f584c791e2a03f8fc36e6c13011a27bcaf028c9c54ba89cd70f485a7d1c687ed
MD5 2a40cd8b670198d43641864f78a47d20
BLAKE2b-256 211d52c0741626a17eb1a2f554e27dc2883f9bb98bb7b2392f9cbd1f39c36fea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page