Parsing made fun … using typing
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.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 0.3-1.fc41 | - |
Fedora 40 | 0.3-1.fc40 | 0.3-1.fc40 |
Fedora 39 | 0.3-1.fc39 | - |
Fedora 38 | 0.3-1.fc38 | - |
You can contact the maintainers of this package via email at
python-flexparser dash maintainers at fedoraproject dot org
.