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.

Metadata

Release files for python-Levenshtein 0.27.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-Levenshtein 0.27.5
File Size Uploaded
python_levenshtein-0.27.5.tar.gz 9.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-Levenshtein 0.27.5
File Interpreter ABI Platform
python_levenshtein-0.27.5-py3-none-any.whl Python 3 none any Details

Total release size: 18.9 kB

Release files / python_levenshtein-0.27.5.tar.gz

Download URL python_levenshtein-0.27.5.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b01ad92a8e775bae997b60758fb7acc65c8bbd3f77892190616ddc86073c10bd
BLAKE2b-256 checksum
How to use checksums
cb586e554f8a0a36f8a5bb6f3d186d42af46ccc7af275dc467ac55f4269d04fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / python_levenshtein-0.27.5-py3-none-any.whl

Download URL python_levenshtein-0.27.5-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da716ff072204e2a6432c68bd9ff92c3e7f1202e4a908640717f191dbb482693
BLAKE2b-256 checksum
How to use checksums
4a2c9bcea060eb5231d33ca753e6e6a7c2fa42cbfd068a1cbb46f8b1f62d9d14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.27.5 This release

2 release files

0.26.1

2 release files

0.26.0

2 release files

0.25.0

2 release files

0.24.0

2 release files

0.23.0

2 release files

0.22.0

2 release files

0.21.1

2 release files

0.21.0

2 release files

0.20.9

2 release files

0.20.8

2 release files

0.20.7

2 release files

0.20.6

2 release files

0.20.5

2 release files

0.20.4

2 release files

0.12.2

1 release file

0.12.1

1 release file

0.12.0

1 release file

0.11.2

1 release file

0.11.1

1 release file

0.10.2

1 release file

0.10.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page