Skip to main content

Binary data structures (un-)packing library

Project description

PyPI Status GitHub Actions Status Documentation Status Supported Python versions License

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:

License

Copyright:

2020-2025, Antonio Valentino <antonio.valentino@tiscali.it>

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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

Uploaded Source

Built Distribution

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

bpack-1.3.0-py3-none-any.whl (58.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bpack-1.3.0.tar.gz
  • Upload date:
  • Size: 73.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for bpack-1.3.0.tar.gz
Algorithm Hash digest
SHA256 fa609236e1334fceb0a765b2bb3c8db847ac3b7452ac18d9d11552735a6f5825
MD5 441ffb206d4b55527072a7b30cf07865
BLAKE2b-256 0086013d23b3a16951881dc0737df065da74fd76b1b48772a02f38941c53e936

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bpack-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 58.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for bpack-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 983f0cf8a4d655d8b6b3b3d7309396b47d6a8101c218b484ad6f873fa80d675b
MD5 6a86b8ca8c16e61ab85d04516d89438a
BLAKE2b-256 9d8df38a5eb362930d5c4ee0aa83166f0452277ab8a0628a508ce58a798b088c

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