BSD Ports

devel/py-levenshtein 0.27.5 MidnightBSD

Fast computation of Levenshtein distance and string similarity

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
01c6c04806
License
gpl2+, mit
Categories
devel, python

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 generally string averaging * string sequence and set similarity

In the other systems

The newest version among them is 0.27.5, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-levenshtein0.27.5 newestno data-[email protected]2026-11-20
FreeBSDdevel/py-levenshtein0.27.5 newestnone known-[email protected]2026-09-22
DragonFlydevel/py-levenshtein0.27.5 newestnone known-[email protected]-
HardenedBSDdevel/py-levenshtein0.27.5 newestno data-[email protected]-
GhostBSDdevel/py-levenshtein0.27.5 newestno data-[email protected]-

Version history 1

  1. 0.27.5 01c6c04806

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}levenshtein

From mports:

cd /usr/mports/devel/py-levenshtein && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}levenshtein>0:devel/py-levenshtein

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 1

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
cmake:indirect python:3.11+
Service scripts
none

Files

distinfo 1
FileSizeSHA256
levenshtein-0.27.5.tar.gz40291422021caf5867a46fae5ab927bbdcb430599d7e5ee3898449cbbe430ff07b7d08
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
01c6c04806 Lucas Holt devel/py-levenshtein: add Python string distance provider
Provide the native Levenshtein library needed by Python Fire tests. AI-Assisted-by: GPT-6.1 Terra <[email protected]> Signed-off-by: Lucas Holt <[email protected]>