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

Uploaded Source

Built Distribution

bpack-1.1.0-py3-none-any.whl (50.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bpack-1.1.0.tar.gz
  • Upload date:
  • Size: 63.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for bpack-1.1.0.tar.gz
Algorithm Hash digest
SHA256 8eb165aa48b71f39a97f8b591c6c0aab6501c2fb12355e3783a2e23d3e53425d
MD5 e7a55ed60c506d5adba01b4149ffb80b
BLAKE2b-256 0b51ca985d8a5d266ac4c68ba42b7931d6da24b3595318a3c90c1e53add98ade

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: bpack-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 50.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for bpack-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad13e6d8f0580dd70fc393c008a8c01e1ee2ec5c38cd631b658a66608b84bd8e
MD5 fc9e002ba33dc99a3112e99d431cc848
BLAKE2b-256 5e9bb5ab973d49f76fd99169779452a612dc7093e1c8ffcf59202ee1ef48f9a5

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