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
Built Distribution
File details
Details for the file ahocode-test-1.0.0.tar.gz
.
File metadata
- Download URL: ahocode-test-1.0.0.tar.gz
- Upload date:
- Size: 69.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f450b10ea12cd2c3f7ccc7c2d0ce92b86407dc4b87be69d40c58d8975decbb4b |
|
MD5 | f6368d4181a29d9003bfc29e79db6fcf |
|
BLAKE2b-256 | 03fd08b74f0694f0b3ddddc299d702b82399456e9a25d734207549ea4711966e |
File details
Details for the file ahocode_test-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: ahocode_test-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4aaab140eeeba589f0a8df82292eee8e81e74738888ded99f07e5ccafc3ca9b2 |
|
MD5 | 2220ae72352a6f7a8c2209136d4ff3b7 |
|
BLAKE2b-256 | 5361a45a825281a92c6f8cd3f6e1df0aad905cd92ed63799e532aaa12e0ad388 |