BSD Ports

textproc/py-acora 2.5_1 DragonFly

Fast multi-keyword search engine for text strings

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
devel, python, textproc
Package size
134.0 KiB, 476.8 KiB installed

Description

Acora is 'fgrep' for Python, a fast multi-keyword text search engine. Based on a set of keywords, it generates a search automaton (DFA) and runs it over string input, either unicode or bytes. It is based on the Aho-Corasick algorithm and an NFA-to-DFA powerset construction. Acora comes with both a pure Python implementation and a fast binary module written in Cython. However, note that the current construction algorithm is not suitable for really large sets of keywords (i.e. more than a couple of thousand).

In the other systems

SystemPortVersion
DragonFlytextproc/py-acora2.5_1
FreeBSDtextproc/py-acora2.5_1
NetBSDtextproc/py-acora2.5nb1
HardenedBSDtextproc/py-acora2.5_1
GhostBSDtextproc/py-acora2.5_1

Install

Binary package:

pkg install py311-acora

From DPorts:

cd /usr/dports/textproc/py-acora && make install clean

Dependencies

Run dependencies 1

No port depends on this one.