# devel/py-construct - The NetBSD Packages Collection

Powerful declarative parser for binary data

    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!

- Source version: `py311-construct-2.10.70`
- Maintainer: pkgsrc-users AT NetBSD.org
- Website: https://construct.readthedocs.io/
- License: mit
- Package history: cvs, hg, git

## Build dependencies

devel/py-setuptools devel/py-wheel devel/py-build misc/py-installer pkgtools/mktools pkgtools/cwrappers

## Runtime dependencies

lang/python311 lang/python311

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | py310-construct-2.10.70.tgz
NetBSD 10.0 | aarch64 | py311-construct-2.10.70.tgz
NetBSD 10.0 | aarch64 | py312-construct-2.10.70.tgz
NetBSD 10.0 | aarch64 | py38-construct-2.10.70.tgz
NetBSD 10.0 | aarch64 | py39-construct-2.10.70.tgz
NetBSD 10.0 | aarch64 | py310-construct-2.10.68.tgz
NetBSD 10.0 | aarch64 | py311-construct-2.10.68.tgz
NetBSD 10.0 | aarch64 | py312-construct-2.10.68.tgz
NetBSD 10.0 | aarch64 | py38-construct-2.10.68.tgz
NetBSD 10.0 | aarch64 | py39-construct-2.10.68.tgz
NetBSD 10.0 | aarch64eb | py310-construct-2.10.70.tgz
NetBSD 10.0 | aarch64eb | py311-construct-2.10.70.tgz
NetBSD 10.0 | aarch64eb | py312-construct-2.10.70.tgz
NetBSD 10.0 | aarch64eb | py38-construct-2.10.70.tgz
NetBSD 10.0 | aarch64eb | py39-construct-2.10.70.tgz
NetBSD 10.0 | alpha | py310-construct-2.10.70.tgz
NetBSD 10.0 | alpha | py311-construct-2.10.70.tgz
NetBSD 10.0 | alpha | py312-construct-2.10.70.tgz
NetBSD 10.0 | alpha | py38-construct-2.10.70.tgz
NetBSD 10.0 | alpha | py39-construct-2.10.70.tgz
NetBSD 10.0 | earmv6hf | py310-construct-2.10.70.tgz
NetBSD 10.0 | earmv6hf | py311-construct-2.10.70.tgz
NetBSD 10.0 | earmv6hf | py312-construct-2.10.70.tgz
NetBSD 10.0 | earmv6hf | py38-construct-2.10.70.tgz
NetBSD 10.0 | earmv6hf | py39-construct-2.10.70.tgz
NetBSD 10.0 | earmv6hf | py310-construct-2.10.68.tgz
NetBSD 10.0 | earmv6hf | py311-construct-2.10.68.tgz
NetBSD 10.0 | earmv6hf | py312-construct-2.10.68.tgz
NetBSD 10.0 | earmv6hf | py38-construct-2.10.68.tgz
NetBSD 10.0 | earmv6hf | py39-construct-2.10.68.tgz
NetBSD 10.0 | earmv7hf | py310-construct-2.10.70.tgz
NetBSD 10.0 | earmv7hf | py311-construct-2.10.70.tgz
NetBSD 10.0 | earmv7hf | py312-construct-2.10.70.tgz
NetBSD 10.0 | earmv7hf | py38-construct-2.10.70.tgz
NetBSD 10.0 | earmv7hf | py39-construct-2.10.70.tgz
NetBSD 10.0 | earmv7hf | py310-construct-2.10.68.tgz
NetBSD 10.0 | earmv7hf | py311-construct-2.10.68.tgz
NetBSD 10.0 | earmv7hf | py312-construct-2.10.68.tgz
NetBSD 10.0 | earmv7hf | py38-construct-2.10.68.tgz
NetBSD 10.0 | earmv7hf | py39-construct-2.10.68.tgz
NetBSD 10.0 | i386 | py310-construct-2.10.70.tgz
NetBSD 10.0 | i386 | py311-construct-2.10.70.tgz
NetBSD 10.0 | i386 | py312-construct-2.10.70.tgz
NetBSD 10.0 | i386 | py38-construct-2.10.70.tgz
NetBSD 10.0 | i386 | py39-construct-2.10.70.tgz
NetBSD 10.0 | i386 | py310-construct-2.10.68.tgz
NetBSD 10.0 | i386 | py311-construct-2.10.68.tgz
NetBSD 10.0 | i386 | py312-construct-2.10.68.tgz
NetBSD 10.0 | i386 | py38-construct-2.10.68.tgz
NetBSD 10.0 | i386 | py39-construct-2.10.68.tgz
NetBSD 10.0 | powerpc | py310-construct-2.10.68.tgz
NetBSD 10.0 | powerpc | py311-construct-2.10.68.tgz
NetBSD 10.0 | powerpc | py37-construct-2.10.68.tgz
NetBSD 10.0 | powerpc | py38-construct-2.10.68.tgz
NetBSD 10.0 | powerpc | py39-construct-2.10.68.tgz
NetBSD 10.0 | powerpc | py310-construct-2.10.68.tgz
NetBSD 10.0 | powerpc | py311-construct-2.10.68.tgz
NetBSD 10.0 | powerpc | py312-construct-2.10.68.tgz
NetBSD 10.0 | powerpc | py37-construct-2.10.68.tgz
NetBSD 10.0 | powerpc | py38-construct-2.10.68.tgz
NetBSD 10.0 | powerpc | py39-construct-2.10.68.tgz
NetBSD 10.0 | sh3el | py312-construct-2.10.70.tgz
NetBSD 10.0 | sh3el | py38-construct-2.10.70.tgz
NetBSD 10.0 | sparc64 | py310-construct-2.10.70.tgz
NetBSD 10.0 | sparc64 | py311-construct-2.10.70.tgz
NetBSD 10.0 | sparc64 | py312-construct-2.10.70.tgz
NetBSD 10.0 | sparc64 | py38-construct-2.10.70.tgz
NetBSD 10.0 | sparc64 | py39-construct-2.10.70.tgz
NetBSD 10.0 | sparc | py310-construct-2.10.70.tgz
NetBSD 10.0 | sparc | py311-construct-2.10.70.tgz
NetBSD 10.0 | sparc | py312-construct-2.10.70.tgz
NetBSD 10.0 | sparc | py38-construct-2.10.70.tgz
NetBSD 10.0 | sparc | py39-construct-2.10.70.tgz
NetBSD 10.0 | x86_64 | py310-construct-2.10.70.tgz
NetBSD 10.0 | x86_64 | py311-construct-2.10.70.tgz
NetBSD 10.0 | x86_64 | py312-construct-2.10.70.tgz
NetBSD 10.0 | x86_64 | py38-construct-2.10.70.tgz
NetBSD 10.0 | x86_64 | py39-construct-2.10.70.tgz
NetBSD 10.0 | x86_64 | py310-construct-2.10.68.tgz
NetBSD 10.0 | x86_64 | py311-construct-2.10.68.tgz
NetBSD 10.0 | x86_64 | py312-construct-2.10.68.tgz
NetBSD 10.0 | x86_64 | py38-construct-2.10.68.tgz
NetBSD 10.0 | x86_64 | py39-construct-2.10.68.tgz
NetBSD 9.0 | aarch64 | py310-construct-2.10.70.tgz
NetBSD 9.0 | aarch64 | py311-construct-2.10.70.tgz
NetBSD 9.0 | aarch64 | py312-construct-2.10.70.tgz
NetBSD 9.0 | aarch64 | py38-construct-2.10.70.tgz
NetBSD 9.0 | aarch64 | py39-construct-2.10.70.tgz
NetBSD 9.0 | aarch64 | py310-construct-2.10.68.tgz
NetBSD 9.0 | aarch64 | py311-construct-2.10.68.tgz
NetBSD 9.0 | aarch64 | py312-construct-2.10.68.tgz
NetBSD 9.0 | aarch64 | py38-construct-2.10.68.tgz
NetBSD 9.0 | aarch64 | py39-construct-2.10.68.tgz
NetBSD 9.0 | alpha | py310-construct-2.10.70.tgz
NetBSD 9.0 | alpha | py311-construct-2.10.70.tgz
NetBSD 9.0 | alpha | py38-construct-2.10.70.tgz
NetBSD 9.0 | alpha | py39-construct-2.10.70.tgz
NetBSD 9.0 | earmv6hf | py310-construct-2.10.70.tgz
NetBSD 9.0 | earmv6hf | py311-construct-2.10.70.tgz
NetBSD 9.0 | earmv6hf | py38-construct-2.10.70.tgz
NetBSD 9.0 | earmv6hf | py39-construct-2.10.70.tgz
NetBSD 9.0 | earmv6hf | py310-construct-2.10.68.tgz
NetBSD 9.0 | earmv6hf | py311-construct-2.10.68.tgz
NetBSD 9.0 | earmv6hf | py38-construct-2.10.68.tgz
NetBSD 9.0 | earmv6hf | py39-construct-2.10.68.tgz
NetBSD 9.0 | earmv7hf | py310-construct-2.10.70.tgz
NetBSD 9.0 | earmv7hf | py311-construct-2.10.70.tgz
NetBSD 9.0 | earmv7hf | py38-construct-2.10.70.tgz
NetBSD 9.0 | earmv7hf | py39-construct-2.10.70.tgz
NetBSD 9.0 | earmv7hf | py310-construct-2.10.68.tgz
NetBSD 9.0 | earmv7hf | py311-construct-2.10.68.tgz
NetBSD 9.0 | earmv7hf | py38-construct-2.10.68.tgz
NetBSD 9.0 | earmv7hf | py39-construct-2.10.68.tgz
NetBSD 9.0 | i386 | py310-construct-2.10.70.tgz
NetBSD 9.0 | i386 | py311-construct-2.10.70.tgz
NetBSD 9.0 | i386 | py312-construct-2.10.70.tgz
NetBSD 9.0 | i386 | py38-construct-2.10.70.tgz
NetBSD 9.0 | i386 | py39-construct-2.10.70.tgz
NetBSD 9.0 | i386 | py310-construct-2.10.68.tgz
NetBSD 9.0 | i386 | py311-construct-2.10.68.tgz
NetBSD 9.0 | i386 | py38-construct-2.10.68.tgz
NetBSD 9.0 | i386 | py39-construct-2.10.68.tgz
NetBSD 9.0 | i386 | py310-construct-2.10.70.tgz
NetBSD 9.0 | i386 | py311-construct-2.10.70.tgz
NetBSD 9.0 | i386 | py312-construct-2.10.70.tgz
NetBSD 9.0 | i386 | py38-construct-2.10.70.tgz
NetBSD 9.0 | i386 | py39-construct-2.10.70.tgz
NetBSD 9.0 | m68k | py38-construct-2.10.68.tgz
NetBSD 9.0 | m68k | py39-construct-2.10.68.tgz
NetBSD 9.0 | powerpc | py310-construct-2.10.68.tgz
NetBSD 9.0 | powerpc | py311-construct-2.10.68.tgz
NetBSD 9.0 | powerpc | py312-construct-2.10.68.tgz
NetBSD 9.0 | powerpc | py37-construct-2.10.68.tgz
NetBSD 9.0 | powerpc | py38-construct-2.10.68.tgz
NetBSD 9.0 | powerpc | py39-construct-2.10.68.tgz
NetBSD 9.0 | powerpc | py310-construct-2.10.68.tgz
NetBSD 9.0 | powerpc | py311-construct-2.10.68.tgz
NetBSD 9.0 | powerpc | py37-construct-2.10.68.tgz
NetBSD 9.0 | powerpc | py38-construct-2.10.68.tgz
NetBSD 9.0 | powerpc | py39-construct-2.10.68.tgz
NetBSD 9.0 | powerpc | py310-construct-2.10.70.tgz
NetBSD 9.0 | powerpc | py311-construct-2.10.70.tgz
NetBSD 9.0 | powerpc | py312-construct-2.10.70.tgz
NetBSD 9.0 | powerpc | py38-construct-2.10.70.tgz
NetBSD 9.0 | powerpc | py39-construct-2.10.70.tgz
NetBSD 9.0 | sparc64 | py310-construct-2.10.70.tgz
NetBSD 9.0 | sparc64 | py311-construct-2.10.70.tgz
NetBSD 9.0 | sparc64 | py312-construct-2.10.70.tgz
NetBSD 9.0 | sparc64 | py38-construct-2.10.70.tgz
NetBSD 9.0 | sparc64 | py39-construct-2.10.70.tgz
NetBSD 9.0 | x86_64 | py310-construct-2.10.70.tgz
NetBSD 9.0 | x86_64 | py311-construct-2.10.70.tgz
NetBSD 9.0 | x86_64 | py312-construct-2.10.70.tgz
NetBSD 9.0 | x86_64 | py38-construct-2.10.70.tgz
NetBSD 9.0 | x86_64 | py39-construct-2.10.70.tgz
NetBSD 9.0 | x86_64 | py310-construct-2.10.68.tgz
NetBSD 9.0 | x86_64 | py311-construct-2.10.68.tgz
NetBSD 9.0 | x86_64 | py312-construct-2.10.68.tgz
NetBSD 9.0 | x86_64 | py38-construct-2.10.68.tgz
NetBSD 9.0 | x86_64 | py39-construct-2.10.68.tgz
NetBSD 9.0 | x86_64 | py310-construct-2.10.70.tgz
NetBSD 9.0 | x86_64 | py311-construct-2.10.70.tgz
NetBSD 9.0 | x86_64 | py312-construct-2.10.70.tgz
NetBSD 9.0 | x86_64 | py38-construct-2.10.70.tgz
NetBSD 9.0 | x86_64 | py39-construct-2.10.70.tgz
NetBSD 9.3 | x86_64 | py310-construct-2.10.70.tgz
NetBSD 9.3 | x86_64 | py311-construct-2.10.70.tgz
NetBSD 9.3 | x86_64 | py312-construct-2.10.70.tgz
NetBSD 9.3 | x86_64 | py38-construct-2.10.70.tgz
NetBSD 9.3 | x86_64 | py39-construct-2.10.70.tgz
NetBSD 9.3 | x86_64 | py310-construct-2.10.70.tgz
NetBSD 9.3 | x86_64 | py311-construct-2.10.70.tgz
NetBSD 9.3 | x86_64 | py312-construct-2.10.70.tgz
NetBSD 9.3 | x86_64 | py38-construct-2.10.70.tgz
NetBSD 9.3 | x86_64 | py39-construct-2.10.70.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

## Available build options

(none)

## Known vulnerabilities

(no vulnerabilities known)

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.