CMD + K

pyahocorasick

Community

Python module (C extension and plain python) implementing Aho-Corasick algorithm.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::pyahocorasick

Usage Tracking

2.3.0
2.2.0
2.1.0
2.0.0
1.4.4
5 / 8 versions selected
Downloads (Last 6 months): 0

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 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.

About

Summary

Python module (C extension and plain python) implementing Aho-Corasick algorithm.

Last Updated

Dec 18, 2025 at 08:51

License

BSD-3-Clause

Total Downloads

432.7K

Supported Platforms

macOS-arm64
macOS-64
win-64
linux-aarch64
linux-64

Unsupported Platforms

win-32 Last supported version: 1.1.7