Skip to main content

Python extension for computing string edit distances and similarities.

Project description

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.9 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 COPYING for the full text of GNU General Public License version 2.

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

python_levenshtein-0.27.1.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

python_levenshtein-0.27.1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_levenshtein-0.27.1.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for python_levenshtein-0.27.1.tar.gz
Algorithm Hash digest
SHA256 3a5314a011016d373d309a68e875fd029caaa692ad3f32e78319299648045f11
MD5 7a162f135fb4c7d22af9c6afa7628c10
BLAKE2b-256 13f6d865a565b7eeef4b5f9a18accafb03d5730c712420fc84a3a40555f7ea6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_levenshtein-0.27.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e1a4bc2a70284b2ebc4c505646142fecd0f831e49aa04ed972995895aec57396
MD5 52dae8358aec66c576c6e0fa49b4427d
BLAKE2b-256 2a958c8fd923b0a702388da4f9e0368f490d123cc5224279e6a083984304a15e

See more details on using hashes here.

Supported by

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