Comparison
pyre2 vs regex
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python 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 4 days ago, commits in 12 of the last 26 weeks. A safe choice.
$
pip install regexIn short
- regex is the most used: 410.6M downloads a month, 1893× more than pyre2.
- regex also has the best Pythie’s Index (85).
- regex is growing fastest: downloads +15% over the last month.
- Safe default for a new project: regex.
Side by side
| Metric | pyre2 | regex |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 56 | Pythie’s Index: 85 |
| Verdict | Maintained | Actively maintained |
| Downloads / month | 216.9K | 410.6M |
| Downloads, month over month | -17% | +15% |
| GitHub stars | 109 | 611 |
| Stars, last 7 days | – | – |
| Direct dependents | 2 | 0 |
| Last release | Sep 25, 2026 | Nov 26, 2026 |
| Releases, 12 months | 1 | 23 |
| Weeks with commits | 4 / 26 | 12 / 26 |
| Recent contributors | 8 | 9 |
| First release | Oct 2020 | Feb 2010 |
| Python versions | 3.10 – 3.15 | 3.11 – 3.15 |
| License | BSD-3-Clause | Apache-2.0 AND CNRI-Python |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.