devel/py-flexparser 0.4 DragonFly
Parsing made fun ... using typing
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD3CLAUSE
- Categories
- devel, python
- Package size
- 58.9 KiB, 352.4 KiB installed
Description
Why write another parser? I have asked myself the same question while working on this project. It is clear that there are excellent parsers out there, but I wanted to experiment with another way of writing them.
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 the typing module extensively to make the output structure easy to use and less error-prone.
In the other systems
The newest version among them is 0.4, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/py-flexparser | 0.4 newest | none known | - | [email protected] | - |
| FreeBSD | devel/py-flexparser | 0.4 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/py-flexparser | 0.4 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-flexparser | 0.4 newest | no data | - | [email protected] | - |
Version history 1
- 0.4
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkg install py312-flexparser
From DPorts:
cd /usr/dports/devel/py-flexparser && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.