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

77/100
  • securityNo known security issues
  • popularityInfluential project
  • maintenanceSustainable
  • communitySustainable

Maintenance

SUSTAINABLE

Commit Frequency

Loading chart...

Open Issues
27
Open PR
5
New PRS
0
Last Release
3 months ago
Last Commit
3 months ago
Maintainers
0

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

We found that pyahocorasick demonstrates a positive version release cadence with at least one new version released in the past 12 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
142
Contributors
0

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

Community

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

This project has seen only 10 or less contributors.

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