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 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:

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.8.0.tar.gz (61.0 kB view details)

Uploaded Source

Built Distribution

bpack-0.8.0-py3-none-any.whl (47.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bpack-0.8.0.tar.gz
  • Upload date:
  • Size: 61.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.4

File hashes

Hashes for bpack-0.8.0.tar.gz
Algorithm Hash digest
SHA256 57d7d836c75c8f2a68c494e27dac7d0a712851733f361da6c08221aa24ae2221
MD5 aa986c0362ccd26c7192f01b63c83ff8
BLAKE2b-256 051999ad2c9d67ee727ad268c1dfd6752403d04ff22594a0c0c0b1b3672b7a52

See more details on using hashes here.

Provenance

File details

Details for the file bpack-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: bpack-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 47.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.4

File hashes

Hashes for bpack-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98604c5fe6727c7b4243ab5c09283b7f5507d8bb6a31da14a8f48f762576f9ea
MD5 4f7ade6194528b61b329efe8e9522290
BLAKE2b-256 d322e34737e8358e2be4fa6d4bfdd309e77ee77c649b1fbef8498d4bb02ef8ea

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