Comparison
parsimonious vs parsy vs pyleri vs spark-parser
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
(Soon to be) the fastest pure-Python PEG parser I could muster
Low maintenance activity. Last release 13 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install parsimoniousEasy-to-use parser combinators, for parsing in pure Python
Low maintenance activity. Last release 15 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install parsyPython Left-Right Parser
Maintained. Last release 5 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install pyleriAn Earley-Algorithm Context-free grammar Parser Toolkit
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install spark-parserIn short
- spark-parser is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- parsimonious is the most used: 8M downloads a month, 1.9× more than parsy.
- pyleri is better maintained: Pythie’s Index 52 against 26.
- pyleri is growing fastest: downloads +26% over the last month.
Side by side
| Metric | parsimonious | parsy | pyleri | spark-parser |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 26 | 29 |