Comparison
google-re2 vs regex 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-re2Alternative 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 regexPython bindings to the Rust regex crate
Maintained. Last release 4 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install regexrs-pyIn short
- regex is the most used: 418.4M downloads a month, 16× more than google-re2.
- regex also has the best Pythie’s Index (87).
- regexrs-py is growing fastest: downloads +569% over the last month.
- regexrs-py is the newcomer: first released Oct 2026.
- Safe default for a new project: regex.
Side by side
| Metric | google-re2 | regex | regexrs-py |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 31 | Pythie’s Index: 87 | Pythie’s Index: 50 |
| Verdict | Low maintenance activity | Actively maintained | Maintained |
| Downloads / month | 26.8M | 418.4M | 313.6K |
| Downloads, month over month | +32% | +19% | +569% |
| GitHub stars | 9.9K | 612 | 0 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 107 | 0 | 0 |
| Last release | Nov 5, 2025 | Nov 30, 2026 | Nov 1, 2026 |
| Releases, 12 months | 0 | 24 | 2 |
| Weeks with commits | 1 / 26 | 13 / 26 | 1 / 26 |
| Recent contributors | 7 | 9 | 1 |
| First release | Sep 2019 | Feb 2010 | Oct 2026 |
| Python versions | 3.9 | 3.11 – 3.15 | 3.11 – 3.15 |
| License | non-standard | Apache-2.0 AND CNRI-Python | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.