Comparison
acora vs pyahocorasick
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Fast multi-keyword search engine for text strings
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install acorapyahocorasick is a fast and memory efficient library for exact or approximate multi-pattern string search. With the ``ahocorasick.Automaton`` class, you can find multiple key string occurrences at once in some input text. You can use it as a plain dict-like Trie or convert a Trie to an automaton for efficient Aho-Corasick search. And pickle to disk for easy reuse of large automatons. Implemented in C and tested on Python 3.6+. Works on Linux, macOS and Windows. BSD-3-Cause license.
Low maintenance activity. Last release 7 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install pyahocorasickIn short
- acora is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- pyahocorasick is the most used: 7.3M downloads a month, 78× more than acora.
- pyahocorasick also has the best Pythie’s Index (38).
- pyahocorasick is growing fastest: downloads +11% over the last month.
Side by side
| Metric | acora | pyahocorasick |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 38 |