./textproc/py-parse_type, Simplifies to build parse types based on the parse module

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


Branch: pkgsrc-2019Q4, Version: 0.5.2, Package name: py37-parse_type-0.5.2, Maintainer: pkgsrc-users

parse_type extends the parse module (opposite of string.format()) with the
following features:
* build type converters for common use cases (enum/mapping, choice)
* build a type converter with a cardinality constraint (0..1, 0..*, 1..*) from
the type converter with cardinality=1.
* compose a type converter from other type converters
* an extended parser that supports the CardinalityField naming schema and
creates missing type variants (0..1, 0..*, 1..*) from the primary type
converter


Master sites:

SHA1: 89bf3d3ea0455b1f46b59221b8a3b033bf17ef58
RMD160: 5622e6f1e73611464e66c43b8363476cafce0285
Filesize: 265.705 KB

Version history: (Expand)