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 Health Score

85/100
  • securityNo known security issues
  • popularityInfluential project
  • maintenanceHealthy
  • communitySustainable

Maintenance

HEALTHY

Commit Frequency

Loading chart...

Open Issues
26
Open PR
4
New PRS
0
Last Release
1 months ago
Last Commit
1 months ago
Maintainers
30

Further analysis of the maintenance status of pyahocorasick based on released PyPI versions cadence, the repository activity, and other data points determined that its maintenance is Healthy.

We found that pyahocorasick demonstrates a positive version release cadence with at least one new version released in the past 3 months.

In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository.

Popularity

INFLUENTIAL PROJECT
GitHub Stars
1.1k
Forks
141
Contributors
30

Based on project statistics from the GitHub repository for the PyPI package pyahocorasick, we found that it has been starred 1,106 times.

Community

SUSTAINABLE
Readme
Yes
Contributing.md
No
Code of Conduct
No
Contributors
30
Funding
No
LICENSE
BSD-3-Clause

With more than 10 contributors for the pyahocorasick repository, this is possibly a sign for a growing and inviting community.

We found a way for you to contribute to the project! Looks like pyahocorasick is missing a Code of Conduct.

License

BSD-2-Clause[1.0,1.0.0);
BSD-3-Clause[1.0.0,);

Direct Vulnerabilities

No direct vulnerabilities have been found for this package in Snyk’s vulnerability database. This does not include vulnerabilities belonging to this package’s dependencies.

Does your project rely on vulnerable package dependencies?

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities (in both your packages & their dependencies) and provides automated fixes for free.

Scan for indirect vulnerabilities

Security

NO KNOWN SECURITY ISSUES
Show only direct vulnerabilities in latest version
No vulnerabilities found

No vulnerabilities found in the latest version

Package versions

31 VERSIONS IN TOTAL See all versions
versionpublisheddirect vulnerabilities
2.3.127 Apr, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.3.017 Dec, 2025
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.2.019 Jun, 2025
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.1.021 Mar, 2024
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.0.014 Jan, 2023
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.0.0b14 May, 2022
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.4.420 Feb, 2022
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.4.320 Feb, 2022
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.4.227 Mar, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.4.126 Jan, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L