Python implementation of Borsh serialization, built on the Construct library. Version 0.1.0. Low release cadence.
pip install borsh-constructNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Define a Borsh-serializable struct, encode, and decode.
Always use types imported from borsh_construct rather than construct directly when working with Borsh serialization.
Define fields in the same order as the schema you are conforming to. Do not assume alphabetical or insertion order.