borsh-construct
Python implementation of Borsh serialization, built on the Construct library.
Decision gist · record as of 2026-08-14
No, unless you are already committed to this exact version or cannot migrate. The package is abandoned (last release October 2021, no commits since), and its dependencies may not be compatible with modern Python environments. For new projects, evaluate actively maintained Borsh implementations or alternative serialization formats.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.8.3,<4.0.0; package is abandoned and may not work with Python versions released after 2021-10-20
- Low install friction with only two runtime dependencies (construct-typing and sumtypes).
- However, the package is archived and abandoned—last release was 2021-10-20 with no updates since, and the repository shows no recent commits.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it legally safe to adopt from a licensing perspective.
last release 2021-10-20 (1759 days) · last repo commit 2021-10-19 · 32 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 162,887 downloads/mo, #10,582 on PyPI
Alternatives
Verify before relying
pip install borsh-construct
from borsh_construct import BorshConstruct
# Use construct-typing and sumtypes to define and serialize data structures- Whether construct-typing and sumtypes remain actively maintained and compatible with current Python versions
- Whether the Borsh specification has evolved since the package's last release and if this implementation remains compliant
- Real-world security audit status or known limitations in the implementation
What it is and what it does
borsh-construct provides a Python implementation of the Borsh binary serialization format, which is designed for security-critical applications where consistency, safety, and speed matter. It is built on top of the Construct library and uses construct-typing and sumtypes to define and work with binary-serialized data structures.
The package prioritizes strict specification compliance and is intended for use cases where deterministic serialization is required—particularly in cryptographic and hashing contexts. However, the package has been abandoned since its initial release in October 2021, with no subsequent updates or maintenance.
Use it for
- Serialize data structures for cryptographic hashing in blockchain or security-critical applications
- Ensure deterministic binary representation of objects across different systems or languages
- Integrate with NEAR Protocol or other systems that mandate Borsh serialization
- Decode Borsh-serialized data received from external security-critical systems
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are already committed to this exact version or cannot migrate.
The package is abandoned (last release October 2021, no commits since), and its dependencies may not be compatible with modern Python environments. For new projects, evaluate actively maintained Borsh implementations or alternative serialization formats.
Install
borsh-construct on PyPI
Before you install
Low install friction with only two runtime dependencies (construct-typing and sumtypes). However, the package is archived and abandoned—last release was 2021-10-20 with no updates since, and the repository shows no recent commits. Use only if you are locked to this specific version or cannot migrate.
Requires Python >=3.8.3,<4.0.0; package is abandoned and may not work with Python versions released after 2021-10-20
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it legally safe to adopt from a licensing perspective.
Quickstart
pip install borsh-construct
from borsh_construct import BorshConstruct
# Use construct-typing and sumtypes to define and serialize data structures
Verify before relying
- Whether construct-typing and sumtypes remain actively maintained and compatible with current Python versions
- Whether the Borsh specification has evolved since the package's last release and if this implementation remains compliant
- Real-world security audit status or known limitations in the implementation
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8.3,<4.0.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesconstruct-typingsumtypes |
| Maintenance | Abandoned 1,759 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 162,887 / month, #10,582 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.9 |
Evidence: borsh_construct-0.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “borsh serialization python”
- borsh-constructImplements the Borsh binary serialization format for Python, enabling…
- serpentSerpent serializes Python objects to human-readable, safe literals…
- phpserializeConverts Python objects to and from PHP serialization format,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Cryptography packages
Certifi provides Mozilla's curated collection of root SSL certificates for Python applications to validate TLS hosts and verify certificate trustworthiness.
cryptography provides cryptographic recipes and low-level primitives for symmetric encryption, message digests, key derivation, and other common cryptographic algorithms in Python.
Pure-Python RSA encryption, decryption, signing, and key generation following PKCS#1 v1.5, with command-line and library interfaces.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
Provides Microsoft Entra ID token-based authentication for Azure SDK clients through a set of TokenCredential implementations that handle OAuth flows and managed identity support.
PyNaCl provides Python bindings to libsodium for digital signatures, secret-key and public-key encryption, hashing, message authentication, and password-based key derivation.
See also cbor2 · oslo.serialization · cbor · binapy · shamir-mnemonic · eth-rlp · polars-hash · asn1crypto · based58 · py-multihash