python3-flexparser
Parsing using Python typing
Description
The idea behind flexparser is quite simple. To write a class for every type of content (called here `ParsedStatement`) one needs to parse. Each class have a `from_string` constructor. The `typing` module is used extensively to make the output structure easy to use and less error prone. The fuse of frozen dataclass is not necessary but it convenient. Being a dataclass you get the init, str, repr, etc for free. Being frozen, sort of immutable, makes them easier to reason around. The result is a collection of `ParsedStatement` or `ParsingError`.Upload more screenshots
Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.
Upload a screenshotHint: upload an image here from your clipboard with Ctrl-V
Homepage
https://github.com/hgrecco/flexparser
Install this software package
If the package is available for the distribution you are currently using on your computer then install the software by clicking on…
Install python3-flexparser