BSD Ports

devel/py-construct 2.10.70nb1 NetBSD

Powerful declarative parser for binary data

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
devel, python
Package size
128.7 KiB, 1187.0 KiB installed

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!

In the other systems

SystemPortVersion
NetBSDdevel/py-construct2.10.70nb1
FreeBSDdevel/py-construct2.10.70_1,1
OpenBSDdevel/py-construct2.10.70p2v0
DragonFlydevel/py-construct2.10.70_1,1

Install

Binary package:

pkgin install py311-construct

From pkgsrc:

cd /usr/pkgsrc/devel/py-construct && make install clean

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-construct-2.10.70nb1, py313-construct-2.10.70nb1, py314-construct-2.10.70nb1