Skip to main content

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


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)

Uploaded Source

Built Distribution

ahocode_test-1.0.0-py3-none-any.whl (13.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page