Skip to main content

String similarity algorithms. Levenshtein, and more.

Project description

mandelshtam

PyPI Version PyPI Downloads License Python Version

Shows a bar chart with benchmark results.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mandelshtam-0.0.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mandelshtam-0.0.0-cp312-cp312-macosx_14_0_arm64.whl (13.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Hashes for mandelshtam-0.0.0.tar.gz
Algorithm Hash digest
SHA256 668fa7335ae031a5ec0903c9884aa7dfc2320b5c0ba921576fcb9cd3a34e48c0
MD5 26525bc1e20e91116442b1e7ee374ec2
BLAKE2b-256 fa2ce9f006029b6887fd3ae572e9e773f4917663be28732e118bb4a8d5dfdba9

See more details on using hashes here.

File details

Details for the file mandelshtam-0.0.0-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for mandelshtam-0.0.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6c9d7bed78e546ae0227ed4b003129b99c9ead3ad3a06293f47b0d0dce622f2f
MD5 c48f1c9bfaa20635afa728bac992eb15
BLAKE2b-256 98055bebc3f12e0bc15e9e9d0dad630b7584d5e92890d2a129d49d05cc4660e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page