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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: bpack-0.8.2.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.2.tar.gz
Algorithm Hash digest
SHA256 e2c2ff0250d83bb5b39478926094cbc34746423b4aaa2d4484d6fab749ad40c5
MD5 71299f041441f8ca65f06e28991fae1e
BLAKE2b-256 4f9336e4771fab3a7f40c5e656a0582096ee78e1b0d8a9cfd7af12fe6c3a7821

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: bpack-0.8.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4f0f5bbd6b97ea80f8654579ec51c0d1a75e4352270fbb66550a559ce80ab5cd
MD5 a40fefa25d438cc0ad16366251e79f8a
BLAKE2b-256 2da3b2383180e8fbde8d0cf66b1ae8e7625a541f72bb79a5fa9020b4e74fae7c

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