Comparison
google-re2 vs regex
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 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, 16× more than google-re2.
- regex also has the best Pythie’s Index (85).
- google-re2 is growing fastest: downloads +30% over the last month.
- Safe default for a new project: regex.
Side by side
| Metric | google-re2 | regex |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 31 | 85 |