Binary data structures (un-)Packing library
- HomePage:
- Author:
Antonio Valentino
- Contact:
- Copyright:
2020-2025, Antonio Valentino <antonio.valentino@tiscali.it>
- Version:
1.3.1.dev0
The bpack Python package provides tools to describe and encode/decode binary data.
Binary data are assumed to be organized in records, each composed by a sequence of fields. Fields are characterized by a known size, offset (w.r.t. the beginning of the record) and datatype.
The package provides classes and functions that can be used to:
describe binary data structures in a declarative way (structures can be specified up to the bit level)
automatically generate encoders/decoders for a specified data descriptor
Encoders/decoders (backends) rely on well known Python packages like:
struct
(form the standard library)bitstruct (optional)
numpy (optional)
bitarray (optional) - partial implementation
Documentation
- Overview
- Installation
- User Guide
- bpack package
- Developers Guide
- Copyright and License
- Release Notes
- bpack v1.3.1 (UNRELEASED)
- bpack v1.3.0 (06/01/2025)
- bpack v1.2.0 (26/11/2024)
- bpack v1.1.0 (15/04/2023)
- bpack v1.0.0 (05/02/2023)
- bpack v0.8.2 (20/03/2022)
- bpack v0.8.1 (30/11/2021)
- bpack v0.8.0 (03/06/2021)
- bpack v0.7.1 (08/03/2021)
- bpack v0.7.0 (21/01/2021)
- bpack v0.6.0 (15/01/2021)
- bpack v0.5.0 (31/12/2020)
- Indices and tables