Skip to content

syubogdanov/mandelshtam

Repository files navigation

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.

About

String similarity algorithms for Python. Levenshtein, and more.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks