Python module (C extension and plain Python) implementing Aho-Corasick algorithm
124.89 KB
built 2026-10-17 12:03:31 GMT
Description
pyahocorasick is a fast and memory efficient library for exact or approximate
multi-pattern string search meaning that you can find multiple key strings
occurrences at once in some input text. The strings "index" can be built ahead
of time and saved (as a pickle) to disk to reload and reuse later. The library
provides an ahocorasick Python module that you can use as a plain dict-like Trie
or convert a Trie to an automaton for efficient Aho-Corasick search.
pyahocorasick is implemented in C and tested on Python 3.8 and up. It works on
64 bits Linux, macOS and Windows.
Dependencies
16 totalRequires12
- gcc
- pyproject-rpm-macros
- python3-devel
- python3-devel
- python3dist(packaging)
- python3dist(pip) >= 19
- python3dist(pytest)
- python3dist(setuptools) >= 40.8
- python3dist(sphinx)
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(DynamicBuildRequires) <= 4.15.0-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides4
- python-pyahocorasick-debuginfo = 2.3.0-5.fc45
- python-pyahocorasick-debugsource = 2.3.0-5.fc45
- python-pyahocorasick-doc = 2.3.0-5.fc45
- python3-pyahocorasick = 2.3.0-5.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
3Name ![]() |
Size |
|---|---|
| 193.patch | 6.46 KB |
| pyahocorasick-2.3.0.tar.gz | 92.69 KB |
| python-pyahocorasick.spec | 5.30 KB |
Files 1–3 of 3
Component of
buildroots that installed this RPMNo Buildroots
