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

Uploaded Source

Built Distribution

bpack-1.0.0-py3-none-any.whl (48.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bpack-1.0.0.tar.gz
  • Upload date:
  • Size: 61.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for bpack-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bd031cbb025722a10f89c6163d58d43df98a9d4e1c0f2cdbfbcaac98f95fe234
MD5 9209c54a5c4a0c045c00ea3df6567dfe
BLAKE2b-256 80f57c5512ef91ad5d578495fe3123665678807bcc7ca83defd2ba11b35bcaaf

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: bpack-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 48.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for bpack-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6b5196c749a5781cba14c78322318ff39cdad85433cb0020d56b4db921c3fdd
MD5 1f77823489e1e05cd64b67a1f6ea8378
BLAKE2b-256 5bdc5b3ad4f8a343fbdff25a4c244a1fa8ee2444efa6489d58cc5ee65ed75e54

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