String similarity algorithms. Levenshtein, and more.
Project description
mandelshtam
Levenshtein: "The Call of Cthulhu" vs "The Metamorphosis".
Key Features
- Performance of C extensions;
- GIL-free & Dependency-free;
- Supports Python 3.9+.
Getting Started
Installation
The library is available as mandelshtam on PyPI:
pip install mandelshtam
Usage
Levenshtein
For more, see the documentation.
from mandelshtam import levenshtein
s1 = "mandelshtam"
s2 = "levenshtein"
assert levenshtein(s1, s2) == 8
License
MIT License, Copyright (c) 2025 Sergei Y. Bogdanov. See LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mandelshtam-0.0.0.tar.gz.
File metadata
- Download URL: mandelshtam-0.0.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.3 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
668fa7335ae031a5ec0903c9884aa7dfc2320b5c0ba921576fcb9cd3a34e48c0
|
|
| MD5 |
26525bc1e20e91116442b1e7ee374ec2
|
|
| BLAKE2b-256 |
fa2ce9f006029b6887fd3ae572e9e773f4917663be28732e118bb4a8d5dfdba9
|
File details
Details for the file mandelshtam-0.0.0-cp312-cp312-macosx_14_0_arm64.whl.
File metadata
- Download URL: mandelshtam-0.0.0-cp312-cp312-macosx_14_0_arm64.whl
- Upload date:
- Size: 13.7 kB
- Tags: CPython 3.12, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.3 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c9d7bed78e546ae0227ed4b003129b99c9ead3ad3a06293f47b0d0dce622f2f
|
|
| MD5 |
c48f1c9bfaa20635afa728bac992eb15
|
|
| BLAKE2b-256 |
98055bebc3f12e0bc15e9e9d0dad630b7584d5e92890d2a129d49d05cc4660e3
|