Simplifies to build parse types based on the parse module
96.86 KB
built 2026-10-17 11:45:41 GMT
Description
"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
Dependencies
17 totalRequires16
- (python3dist(tomli) if python3-devel < 3.11)
- pyproject-rpm-macros
- python3-devel
- python3-devel
- python3dist(packaging)
- python3dist(parse) >= 1.18
- python3dist(pip) >= 19
- python3dist(pytest) >= 5
- python3dist(setuptools)
- python3dist(six) >= 1.15
- python3dist(tox) >= 3.10
- python3dist(tox-current-env) >= 0.0.16
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(DynamicBuildRequires) <= 4.15.0-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(RichDependencies) <= 4.12.0-1
Provides1
- python3-parse_type = 0.6.2-15.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| parse_type-0.6.2.tar.gz | 64.79 KB |
| python-parse_type.spec | 8.97 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
