pyahocorasick

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

Package versions

31 VERSIONS IN TOTAL
versionpublisheddirect vulnerabilities
1.1.627 Nov, 2017
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.522 Nov, 2017
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.48 Aug, 2016
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.38 Aug, 2016
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.26 Aug, 2016
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.129 Jul, 2016
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.026 Apr, 2016
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.324 Apr, 2016
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.223 Apr, 2016
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.119 Apr, 2016
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.025 Nov, 2014
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

Get started free