Comparison
google-re2 vs onigurumacffi vs pyre2 vs regexrs-py
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
RE2 Python bindings
Low maintenance activity. Last release 13 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install google-re2python cffi bindings for the oniguruma regex engine
Maintained. Last release 10 months ago, commits in 9 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 pyre2Python bindings to the Rust regex crate
Maintained. Last release 5 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install regexrs-pyIn short
- google-re2 is the most used: 27M downloads a month, 82× more than onigurumacffi.
- pyre2 is better maintained: Pythie’s Index 56 against 31.
- regexrs-py is growing fastest: downloads +417% over the last month.
- regexrs-py is the newcomer: first released Oct 2026.
Side by side
| Metric | google-re2 | onigurumacffi | pyre2 | regexrs-py |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 31 | 54 |