Comparison
parse vs stringparser vs trollsift
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
parse() is the opposite of format()
Actively maintained. Last release 6 weeks ago, commits in 12 of the last 26 weeks. A safe choice.
$
pip install parseEasy to use pattern matching and information extraction
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install stringparserString parser/formatter
Actively maintained. Last release 7 weeks ago, commits in 12 of the last 26 weeks. A safe choice.
$
pip install trollsiftIn short
- stringparser is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- parse is the most used: 17.6M downloads a month, 153× more than stringparser.
- Maintenance is comparable: parse 82, trollsift 80 on Pythie’s Index.
- trollsift is growing fastest: downloads +35% over the last month.
- Safe default for a new project: parse.
Side by side
| Metric | parse | stringparser | trollsift |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | 16 |