ahocode is a fallback pure Python library for pyahocorasick.
Project description
This repo is a pure python implementation for pyahocorasick, inspired by abusix/ahocorapy.
Installation
Requirements
Python 3.8 or later
pip install ahocode-test
Documentation
ahocode is a fallback library for pyahocorasick, so the Automaton class and its methods have same names and parameters.
Below listed are the implemented classes and methods.
Classes
Automaton
Methods for Automaton class
add_word
get
clear
exists
find_all
items
make_automaton
iter
keys
values
__getstate__
__setstate__
__len__
__contains__
For documentation please refer to: https://pyahocorasick.readthedocs.io/en/latest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ahocode-test-1.0.0.tar.gz
(69.0 kB
view hashes)
Built Distribution
Close
Hashes for ahocode_test-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4aaab140eeeba589f0a8df82292eee8e81e74738888ded99f07e5ccafc3ca9b2 |
|
MD5 | 2220ae72352a6f7a8c2209136d4ff3b7 |
|
BLAKE2b-256 | 5361a45a825281a92c6f8cd3f6e1df0aad905cd92ed63799e532aaa12e0ad388 |