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

Uploaded Source

Built Distribution

bpack-0.7.1-py3-none-any.whl (45.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bpack-0.7.1.tar.gz
  • Upload date:
  • Size: 58.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

File hashes

Hashes for bpack-0.7.1.tar.gz
Algorithm Hash digest
SHA256 df81dcc937e60ec11e5d3f3ff9ec1d9573b91f43be5e332b627d99a8c28a5fde
MD5 62a5a7dbf348ed59fa482f509cc01f7f
BLAKE2b-256 3c112cd40034e00e6530ece9527e8d55d972dfd57ec69bd2a61ce6ff61389c84

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: bpack-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 45.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

File hashes

Hashes for bpack-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56f5244b287eb3b70b7b7f956cb0a49caef3d24683e932588e4cfb6cddfe2fc2
MD5 9977dce671130c7ca154a96982d6aa05
BLAKE2b-256 b80b06b0822fad549038214acbd6ba3c844b5431f9ef87ea1a8891e1431a9d4a

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