Comparison
ahocorasick-rs vs textsearch
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Search for multiple substrings at the same time, and quickly too
Maintained. Last release 9 days ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install ahocorasick-rsFind strings/words in text; convenience and C speed
Likely abandoned. No release or commit for years (last release over 4 years ago).
$
pip install textsearchIn short
- textsearch looks abandoned: avoid it for new projects.
- ahocorasick-rs is the most used: 1.5M downloads a month, 2.5× more than textsearch.
- ahocorasick-rs also has the best Pythie’s Index (58).
- ahocorasick-rs is growing fastest: downloads +83% over the last month.
Side by side
| Metric | ahocorasick-rs | textsearch |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 58 | 13 |