Skip to main content

Levenshtein

Continous Integration PyPI package version Python versions Documentation GitHub license

Introduction

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

:warning: The package was renamed to Levenshtein and can be found here. The python-Levenshtein package will continue to be updated alongside the new package

Requirements

  • Python 3.10 or later

Installation

pip install levenshtein

Documentation

The documentation for the current version can be found at https://rapidfuzz.github.io/Levenshtein/

Support the project

If you are using Levenshtein for your work and feel like giving a bit of your own benefit back to support the project, consider sending us money through GitHub Sponsors or PayPal that we can use to buy us free time for the maintenance of this great library, to fix bugs in the software, review and integrate code contributions, to improve its features and documentation, or to just take a deep breath and have a cup of tea every once in a while. Thank you for your support.

Support the project through GitHub Sponsors or via PayPal:

.

License

Levenshtein is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

See the file LICENSE for the full text of GNU General Public License version 2.

Download files

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

Source Distribution

python_levenshtein-0.27.4.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

python_levenshtein-0.27.4-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file python_levenshtein-0.27.4.tar.gz.

File metadata

  • Download URL: python_levenshtein-0.27.4.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for python_levenshtein-0.27.4.tar.gz
Algorithm Hash digest
SHA256 0ae9deae0b0cdf4439bcc39d1408de1fb663aa3632a00264e9b2ff8ea878b38c
MD5 445fc1e031e8c71b85d8e085e91fd971
BLAKE2b-256 8aad699b3167c0e30d582837dfa2a70fb8cf4c986bec416d3f081d37d3d8b08f

See more details on using hashes here.

File details

Details for the file python_levenshtein-0.27.4-py3-none-any.whl.

File metadata

File hashes

Hashes for python_levenshtein-0.27.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cf956834cffa7690e2242eec385b77805fe256d164015583ba45649dc75144e1
MD5 f02d3966fe1d810a8798272a103dd927
BLAKE2b-256 c076a14c46a124ec1cb731087d05e85dfdd09835a297473e6de52a049dbb8f2c

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 Sentry Error logging StatusPage Status page