Parsing made fun … using typing
59.71 KB
built 2026-10-17 09:20:14 GMT
Description
The idea is quite simple. You write a class for every type of content (called
here ParsedStatement) you need to parse. Each class should have a from_string
constructor. We used extensively the typing module to make the output structure
easy to use and less error prone.
Dependencies
16 totalRequires15
- (python3dist(tomli) if python3-devel < 3.11)
- pyproject-rpm-macros
- python3-devel
- python3dist(packaging)
- python3dist(pip) >= 19
- python3dist(pytest)
- python3dist(setuptools) >= 61
- python3dist(setuptools-scm) >= 3.4.3
- python3dist(setuptools-scm[toml]) >= 3.4.3
- python3dist(typing-extensions)
- python3dist(wheel)
- 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-flexparser = 0.4-13.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| flexparser-0.4.tar.gz | 31.05 KB |
| python-flexparser.spec | 4.98 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
