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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bpack-0.6.0-py3-none-any.whl (39.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bpack-0.6.0.tar.gz
  • Upload date:
  • Size: 43.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2.post20210112 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for bpack-0.6.0.tar.gz
Algorithm Hash digest
SHA256 eed6d2363b6ca3a0701e0353424cc6c8981e09a91c9e4adba6268705dc6cd618
MD5 fd6ace5a16862fc71b74577915fd09e1
BLAKE2b-256 5ebc38c3af0978b0696101b944080d69e61d82c5cf5025ca3a2ed754a98d1999

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bpack-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 39.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2.post20210112 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for bpack-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21d36e515baa9cce0c10ce4f1a7a78869ef34c5192437ab12b5132db87b2371c
MD5 434298008baad0242d4d1669d9f0138b
BLAKE2b-256 102f8c9194530fdf82209298d287c66a64ba6aa63e65d3580b2ddc0ce8e8da04

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page