pyparsing
parsita
Our great sponsors
pyparsing | parsita | |
---|---|---|
13 | 0 | |
2,065 | 93 | |
1.4% | - | |
8.5 | 6.7 | |
9 days ago | 25 days ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pyparsing
-
About a month ago I posted about PRegEx, an open-source project which I had started that you can use to build RegEx patterns programmatically, which the subreddit seem to like. This prompted me to keep working on it, and one month later, PRegEx v2.0.0 is out!
I havent found a way to specify an exact character match in pyparsing - https://github.com/pyparsing/pyparsing/discussions/443
-
Python toolkits
STDOUT: Lark or pyparsing
- TatSu takes grammars in variation of EBNF, outputs memoizing Python PEG parsers
-
Parser Combinators in Haskell
Since it is not mentioned in the article: Python users may also want to check out pyparsing [0]. It is slightly different from Parsec/FParsec (for instance, it ignores all whitespace by default), but I think it is a really good project.
- luna is a Domain specific language that translates to regex. It's an attempt to make regex more readable.
-
Recommended way to read and parse a couple thousand small files
I might try to use multiprocessing for comparison. I'm using pyparsing for the parsing, although it probably could be done with regex.
Your pyparsing parser might benefit from a tune-up. This page has some performance tips: https://github.com/pyparsing/pyparsing/wiki/Performance-Tips.
parsita
We haven't tracked posts mentioning parsita yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
attoparsec - A fast Haskell library for parsing ByteStrings
iregex - A way to write regex with objects instead of strings.
parser - String parser combinators
sly - Sly Lex Yacc
assert-combinators - Functional assertion combinators.
Lark - Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
ReadableRegex.jl - regexes for people who don't really want to learn or read regexes
uwsgi-nginx-flask-docker - Docker image with uWSGI and Nginx for Flask applications in Python running in a single container.
pyparsing - Python library for creating PEG parsers [Moved to: https://github.com/pyparsing/pyparsing]
binarytree - Python Library for Studying Binary Trees
cinje - A Pythonic and ultra fast template engine DSL.
httpaf - A high performance, memory efficient, and scalable web server written in OCaml