Comparison
onigurumacffi vs pyre2 vs regex
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
python cffi bindings for the oniguruma regex engine
Maintained. Last release 10 months ago, commits in 10 of the last 26 weeks. Weaker on release cadence and contributor spread.
$
pip install onigurumacffiPython wrapper for Google RE2 library using Cython
Maintained. Last release 2 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install pyre2Alternative regular expression module, to replace re.
Actively maintained. Last release 2 days ago, commits in 13 of the last 26 weeks. A safe choice.
$
pip install regexIn short
- regex is the most used: 418.4M downloads a month, 1300× more than onigurumacffi.
- regex also has the best Pythie’s Index (87).
- regex is growing fastest: downloads +19% over the last month.
- Safe default for a new project: regex.
Side by side
| Metric | onigurumacffi | pyre2 | regex |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 56 | 56 |