Skip to main content

a powerful declarative parser for binary data

Project description

Construct is a powerful declarative parser for binary data.

It is based on the concept of defining data structures in a declarative manner, rather than procedural code: Simple constructs can be combined hierarchically to form increasingly complex data structures. It’s the first library that makes parsing fun, instead of the usual headache it is today.

Construct features bit and byte granularity, symmetrical operation (parsing and building), component-oriented declarative design, easy debugging and testing, an easy-to-extend subclass system, and lots of primitive constructs to make your work easier:

  • Fields

  • Structs

  • Unions

  • Repeaters

  • Meta constructs

  • Switches

  • On-demand parsing

  • Pointers

  • And more!

Requirements

Construct should run on any Python 2.5+ implementation. It has no external dependencies.

Project details


Release history Release notifications | RSS feed

This version

2.0.6

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

construct-2.0.6.tar.gz (83.6 kB view details)

Uploaded Source

File details

Details for the file construct-2.0.6.tar.gz.

File metadata

  • Download URL: construct-2.0.6.tar.gz
  • Upload date:
  • Size: 83.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for construct-2.0.6.tar.gz
Algorithm Hash digest
SHA256 b10a720d22277089b48b6d952af388242f3c0b8b2c864bbb29e2e4cf6f4aaf5a
MD5 6d1bbd5bc3093371304fe5e31f88b6ab
BLAKE2b-256 9b97a8304e56c5c79d4e132a7ecdf44b051fe1bfbe35cef6c94ce0552def649d

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