BSD Ports

textproc/py-Levenshtein 0.27.4 NetBSD

Python extension for computing string edit distances

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
65c9b1c391
License
gnu-gpl-v2
Categories
textproc, python
Package size
98.9 KiB, 518.1 KiB installed

Description

The Levenshtein Python C extension module contains functions for fast computation of: Levenshtein (edit) distance and edit operations, string similarity, approximate median strings and general string averaging, and string sequence and set similarity. It supports both normal and Unicode strings.

Install

Binary package:

pkgin install py312-Levenshtein

From pkgsrc:

cd /usr/pkgsrc/textproc/py-Levenshtein && 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.

RepositoryVersion
NetBSD 10.1 x86_640.27.4
NetBSD 10.1 aarch640.27.3
SmartOS / illumos x86_640.27.5
macOS 15 arm640.27.5

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
py313-Levenshtein-0.27.4, py314-Levenshtein-0.27.4

Commit history 4

DateCommitCreditsLog message
65c9b1c391 adam Forget Python 3.10
0f80a74c85 wiz py-Levenshtein: fix build on NetBSD
0852bffe6d adam py-Levenshtein: updated to 0.27.5
0.27.5 Fixed - avoid unnecessary len calls on iterables. This avoids a crash when changing the size of the iterable after the len call. Added * Add support for Python 3.15 Removed - removed support for Python 3.10
f661941c5c adam py-Levenshtein: updated to 0.27.4
0.27.4 Added - add type hints for StringMatcher