textproc/py-acora 2.5nb1 NetBSD
Fast multi-keyword search engine for text strings in Python
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- modified-bsd
- Categories
- textproc, python
- Package size
- 136.5 KiB, 484.1 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
| System | Port | Version |
|---|---|---|
| NetBSD | textproc/py-acora | 2.5nb1 |
| FreeBSD | textproc/py-acora | 2.5_1 |
| DragonFly | textproc/py-acora | 2.5_1 |
| HardenedBSD | textproc/py-acora | 2.5_1 |
| GhostBSD | textproc/py-acora | 2.5_1 |
Install
Binary package:
pkgin install py311-acora
From pkgsrc:
cd /usr/pkgsrc/textproc/py-acora && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 2.5nb1 |
| NetBSD 10.1 aarch64 | 2.5nb1 |
| SmartOS / illumos x86_64 | 2.5nb1 |
| macOS 15 arm64 | 2.5nb1 |
Dependencies
Run dependencies 1
Required by 1
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-acora-2.5nb1,py313-acora-2.5nb1,py314-acora-2.5nb1