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:

License

Copyright:

2020-2024, 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.2.0.tar.gz (72.1 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.2.0-py3-none-any.whl (57.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bpack-1.2.0.tar.gz
Algorithm Hash digest
SHA256 21aea88fed8956a33721e9fc60f51a1529f57fb65e20d2b687b20fb2fd803015
MD5 987e3e0c305d51f946efb06367b9449c
BLAKE2b-256 a8831a525e498c195f4f5075808836713a4d710eff8bda10ed4c214292f55a2b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bpack-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 57.2 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8972b5578b23c6b9bf59292bb244b586b5da91a7f2050385f90fdf709ae5f35b
MD5 d4dacf7f9d9387a7db2a2d9cd770e945
BLAKE2b-256 073af4d058b0c5462c7a1d0a7d288dd2f44ea5afd096fcfae59e6479889a27f6

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