./devel/py-construct, Powerful declarative parser for binary data

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.10.70, Package name: py312-construct-2.10.70, Maintainer: pkgsrc-users

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!


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 84.313 KB

Version history: (Expand)


CVS history: (Expand)


   2024-01-12 14:24:05 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-construct: updated to 2.10.70

2.10.70
Unknown changes
   2022-02-22 09:39:25 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-construct: updated to 2.10.68

2.10.68
Unknown changes
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-05-27 13:56:24 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-construct: updated to 2.10.67

2.10.67:
Unknown changes
   2021-04-05 10:49:57 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-construct: updated to 2.10.66

Transition to 2.10

Overall

Dropped support for Python 2.7 and 3.5 (pypy is also supported)
Bytes GreedyBytes can build from bytearrays (not just bytes)
Embedded and EmbeddedSwitch were permanently removed
Exceptions always display path information
build_file() opens a file for both reading and writing
BytesInteger BitsInteger can take lambda for swapped parameter
cloudpickle is now supported and tested for
ZigZag signed integer encoding from Protocol Buffers added
FormatField now supports ? format string
CompressedLZ4 tunneling class added
Windows is now officially supported and tested for
BytesInteger and BitsInteger are checking numbers are valid
BitsInteger swapped semantic was fixed
Compilation covers building as well, parsing slightly improved
Array GreedyRange RepeatUntil builders use discard option
Sequence build fixed, no longer skips subcons on short obj
Lazy class fixed, seeks the not-yet parsed subcon
   2019-07-09 13:35:15 by Nia Alarie | Files touched by this commit (9)
Log message:
Use https for readthedocs.io.