Skip to main content

Binary data structures (un-)packing library

Project description

PyPI Status GitHub Actions Status Documentation Status

The bpack Python package provides tools to describe and encode/decode binary data.

Binary data are assumed to be organised in records, each composed by a sequence of fields. Fields are characterised 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:

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

bpack-0.5.0.tar.gz (34.9 kB view details)

Uploaded Source

File details

Details for the file bpack-0.5.0.tar.gz.

File metadata

  • Download URL: bpack-0.5.0.tar.gz
  • Upload date:
  • Size: 34.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.23.0 setuptools/49.3.1 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.6

File hashes

Hashes for bpack-0.5.0.tar.gz
Algorithm Hash digest
SHA256 577acf535346605352af75fb537622f50978d4d6c40b83e964f4126d11a14835
MD5 ebdfadc1ce69046a48f1c4f2dcfee399
BLAKE2b-256 ac07cd6639149bb1baeb59f3987f1fb34e0d0850e88b358013d43995a648848f

See more details on using hashes here.

Provenance

Supported by

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