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

Try This Package Beta

Usage Tracking

2.3.1
2.3.0
2.2.0
2.1.0
2.0.0
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

Sep 2, 2026 at 14:40

License

BSD-3-Clause

Supported Platforms

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

Unsupported Platforms

win-32 Last supported version: 1.1.7