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

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


Branch: pkgsrc-2018Q3, Version: 0.4.2, Package name: py27-parse_type-0.4.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


Required to run:
[lang/python27] [lang/py-six]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 8b8525c63ef4a39afc1da27c6c37c4639860616f
RMD160: 7ea4613143cc12c5f3e8313ec52d667351365acf
Filesize: 258.274 KB

Version history: (Expand)