Comparison
exrex vs xeger
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Irregular methods for regular expressions
Low maintenance activity. Last release over 2 years ago, commits in 4 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install exrexA library for generating random strings from a valid regular expression.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install xegerIn short
- xeger is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- exrex is the most used: 501.4K downloads a month, 6.7× more than xeger.
- exrex also has the best Pythie’s Index (30).
- exrex is growing fastest: downloads +19% over the last month.