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!

Project details


Release history Release notifications

History Node

2.9.45

History Node

2.9.44

History Node

2.9.43

History Node

2.9.42

History Node

2.9.41

History Node

2.9.40

History Node

2.9.39

History Node

2.9.38

History Node

2.9.37

History Node

2.9.36

History Node

2.9.35

History Node

2.9.34

History Node

2.9.33

History Node

2.9.32

History Node

2.9.31

History Node

2.9.30

History Node

2.9.29

History Node

2.9.28

History Node

2.9.27

History Node

2.9.26

History Node

2.9.25

History Node

2.9.24

History Node

2.9.23

History Node

2.8.22

History Node

2.8.21

History Node

2.8.20

History Node

2.8.19

History Node

2.8.18

History Node

2.8.17

History Node

2.8.16

History Node

2.8.15

History Node

2.8.14

History Node

2.8.13

History Node

2.8.12

History Node

2.8.11

History Node

2.8.10

History Node

2.8.8

History Node

2.8.7

History Node

2.8.6

History Node

2.8.5

History Node

2.8.4

History Node

2.8.3

History Node

2.8.2

History Node

2.5.5

History Node

2.5.4

History Node

2.5.3

History Node

2.5.2

History Node

2.5.1

History Node

2.5.0

History Node

2.0.6

History Node

2.0.5

This version
History Node

2.0.4

History Node

2.0.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
construct-2.0.4.tar.gz (83.5 kB) Copy SHA256 hash SHA256 Source None May 5, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page