Construct is a python module for defining arbitrary data structures
Construct is a python module for defining arbitrary data structures. Once a data structure (aka, "construct") is defined, it can be used to both parse raw data into an object and build an object into raw data.
Unlike most parsers, it works at the bit-level, so you don't need to worry about parsing individual bits or unaligned fields.
Construct library supports Fields, Unions, Structs and Repeaters; Adapters and Validators; Switches, Pointers and other Meta -constructs.
Here are some key features of "Construct":
Symmetrical -- constructs can be used to parse as well as to build
Bit-level -- can parse and build individual bits, not only bytes
Ready -- lots of predefined primitives and common protocols definitions, which you can easily use
Extensible -- you can easily write user-defined constructs by simply by subclassing
Fast -- benchmarks on my machine show ~160KB/sec can be parsed, fast enough for most situations, and perhaps pysco can improve that
Declarative -- no procedural code needed for most situations
What's New in This Release:
Bugs in AttrDict, ExceptionContainer, and demo1.py were fixed.
PaddedString, DNS inventory, and a toy network sniffer were added.
BytePadding, BytePointer, and IpStack were changed and the demos package was removed.
can easily for most most situations you can individual bits and build bit level raw data
Download Construct 1.25
XML::SimpleObject 0.53 (by Dan Brian)
XML::SimpleObject is a Perl extension allowing a simple object representation of a parsed XML::Parser tree.
Other software in this category
zlib 1.2.3 (by Jean-loup Gailly)
zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp
libxml2 2.6.27 (by DV)
Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i
GNU C library 2.4 (by Andreas Jaeger)
GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.
GNU C library is us
jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java
Surf the Internet in a safer, faster, and easier way with Opera browser
GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell