Parcon is a Python parser combinator and formatter combinator library. It's designed to be fast, easy to use, and provide informative error messages.
Parcon is very similar to Pyparsing, but it improves on a lot of things that, in my opinion, Pyparsing does wrong. For example, Parcon's error messages are almost always considerably more informative as to why parsing some particular input failed.
Parcon can also be used to parse binary protocols.
Pargen, Parcon's formatter combinator library, is the opposite of a parser library: it lets you define how objects should be formatted; you then pass in an object and Pargen formats it according to your grammar, and you get a string back.
Commercial Use
Modify
Distribute
Place Warranty
Use Patent Claims
Sub-License
Hold Liable
Distribute Original
Disclose Source
Include Copyright
State Changes
Include License
Include Install Instructions
These details are provided for information only. No information here is legal advice and should not be used as such.
There are no reported vulnerabilities
30 Day SummaryAug 28 2025 — Sep 27 2025
|
12 Month SummarySep 27 2024 — Sep 27 2025
|