aboutsummaryrefslogblamecommitdiff
path: root/textproc/py-parse-type/pkg-descr
blob: 78faeb71c20d8e7371827b4d18fb4b1c56342c39 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                            
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

WWW: https://github.com/jenisys/parse_type