Comparison
onigurumacffi vs regex vs regexrs-py vs regress
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 9 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install onigurumacffiAlternative regular expression module, to replace re.
Actively maintained. Last release 1 day ago, commits in 12 of the last 26 weeks. A safe choice.
pip install regexPython 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-pyPython bindings to Rust's regress ECMA regular expressions library
Actively maintained. Last release 3 months ago, commits in 16 of the last 26 weeks. A safe choice.
pip install regressIn short
- regex is the most used: 422.9M downloads a month, 70× more than regress.
- regex also has the best Pythie’s Index (85).
- regexrs-py is growing fastest: downloads +417% over the last month.
- regexrs-py is the newcomer: first released Oct 2026.
- Safe default for a new project: regex.
Side by side
| Metric | onigurumacffi | regex | regexrs-py | regress |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 54 | Pythie’s Index: 85 | Pythie’s Index: 52 | Pythie’s Index: 71 |
| Verdict | Maintained | Actively maintained | Maintained | Actively maintained |
| Downloads / month | 330.1K | 422.9M | 312.2K | 6M |
| Downloads, month over month | +13% | +19% | +417% | +21% |
| GitHub stars | 23 | 613 | 0 | 3 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 4 | 0 | 0 | 1 |
| Last release | Jan 25, 2026 | Dec 2, 2026 | Nov 1, 2026 | Sep 5, 2026 |
| Releases, 12 months | 1 | 25 | 2 | 1 |
| Weeks with commits | 9 / 26 | 12 / 26 | 2 / 26 | 16 / 26 |
| Recent contributors | 1 | 11 | 1 | 2 |
| First release | Feb 2020 | Feb 2010 | Oct 2026 | Mar 2023 |
| Python versions | – | 3.11 – 3.15 | 3.11 – 3.15 | 3.11 – 3.15 |
| License | MIT | Apache-2.0 AND CNRI-Python | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.