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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/py-levenshtein | 0.27.5 newest | no data | - | [email protected] | 2026-11-20 |
| FreeBSD | devel/py-levenshtein | 0.27.5 newest | none known | - | [email protected] | 2026-09-22 |
| DragonFly | devel/py-levenshtein | 0.27.5 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/py-levenshtein | 0.27.5 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-levenshtein | 0.27.5 newest | no data | - | [email protected] | - |
Version history 1
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
${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0.11: devel/py-scikit-build-core
Runtime 1
${PYTHON_PKGNAMEPREFIX}rapidfuzz>=3.9.0: devel/py-rapidfuzz
Test 1
${PYTHON_PKGNAMEPREFIX}hypothesis>0: devel/py-hypothesis
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
| File | Size | SHA256 |
|---|---|---|
| levenshtein-0.27.5.tar.gz | 402914 | 22021caf5867a46fae5ab927bbdcb430599d7e5ee3898449cbbe430ff07b7d08 |
Master sites 1
- PYPI
Commit history 1
| Date | Commit | Credits | Log 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]> |