{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","python"],"comment":"Parsing made fun ... using typing","compare":null,"dependentCount":null,"description":"Why write another parser? I have asked myself the same question while working on\nthis project. It is clear that there are excellent parsers out there, but I\nwanted to experiment with another way of writing them.\n\nThe idea is quite simple. You write a class for every type of content (called\nhere ParsedStatement) you need to parse. Each class should have a from_string\nconstructor. We used the typing module extensively to make the output structure\neasy to use and less error-prone.","flavors":[],"html":"https://daemonports.org/dragonfly/devel/py-flexparser/","kind":"port","lastUpdate":null,"license":["BSD3CLAUSE"],"licenses":["BSD-3-Clause"],"maintainer":"sunpoet@FreeBSD.org","name":"py312-flexparser","newest":true,"newestVersion":"0.4","noVulnData":false,"origin":"devel/py-flexparser","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/py-flexparser","path":"/devel/py-flexparser/","system":"FreeBSD","version":"0.4"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-flexparser","path":"","system":"HardenedBSD","version":"0.4"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-flexparser","path":"","system":"GhostBSD","version":"0.4"}],"packages":null,"pkgName":"py312-flexparser-0.4","related":null,"repository":"DPorts","requiredBy":["devel/py-datasette","devel/py-pint"],"requiredByCount":2,"runDepends":["devel/py-typing-extensions","lang/python312"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"0.4","versions":[{"date":"2026-11-11","version":"0.4"}],"vulnerabilities":null,"www":"https://github.com/hgrecco/flexparser"}
