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

Uploaded Source

Built Distribution

bpack-0.7.0-py3-none-any.whl (43.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bpack-0.7.0.tar.gz
  • Upload date:
  • Size: 49.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3.post20210118 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for bpack-0.7.0.tar.gz
Algorithm Hash digest
SHA256 bd8381ed3e809e838d797e7ce8e98ac74af0420bde9276a7289a49362e70972f
MD5 4fc77641d3c02e3fa8f12762053c8271
BLAKE2b-256 5be99cbe589f7ff5c65646e5c9224462bcd11616fc8437ae53e6cad9ba8008c5

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: bpack-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 43.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3.post20210118 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for bpack-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 53058d39886f5a17518c67d5e878467e8ea5ed609c719369abd5fef3bbaf1e58
MD5 869da68f116b81fe5db5c04628257cee
BLAKE2b-256 5006bc6b56bdcc22ffd672376a3093fbc3d4dfc0b1e3c22fb74173a4970bfbd8

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