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

Uploaded Source

Built Distribution

bpack-0.8.1-py3-none-any.whl (47.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bpack-0.8.1.tar.gz
  • Upload date:
  • Size: 61.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

File hashes

Hashes for bpack-0.8.1.tar.gz
Algorithm Hash digest
SHA256 42f9a2388266793eb801de267d7f958f8726bd7b7784e3d881c9512d65d0c7fc
MD5 075c3d74843e699f96810ab6c6bb6848
BLAKE2b-256 2772189bfd8cec30437cf159aec69d4df8658354d5004aa1ba88564105a21dbc

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: bpack-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 47.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

File hashes

Hashes for bpack-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d6217a401141fc3861407901f2b86cbad9f547dc3c7781d886920b5d6b2c29dd
MD5 41ce6823e04ace37d03888bccc4f3812
BLAKE2b-256 9d919d09befc3eb2b57192625aec2a9d61753b492e46d1b82943fea50d9f8412

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