python3-bpack

Binary data structures (un-)packing library

Description

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

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/avalentino/bpack


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-bpack