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.6 or later

Installation

pip install levenshtein

Documentation

The documentation for the current version can be found at https://maxbachmann.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.20.7.tar.gz (12.0 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.20.7-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file python-Levenshtein-0.20.7.tar.gz.

File metadata

  • Download URL: python-Levenshtein-0.20.7.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for python-Levenshtein-0.20.7.tar.gz
Algorithm Hash digest
SHA256 9228af5523f797f0798f045dc4a95ed1f46df72bc2186e52b530a33998a51b37
MD5 09c83c3b1b72b8f82f52029c310886e9
BLAKE2b-256 72631cc3c101bff9d17618708379af783c93af4f39b316c5fda98c4068c4df41

See more details on using hashes here.

File details

Details for the file python_Levenshtein-0.20.7-py3-none-any.whl.

File metadata

File hashes

Hashes for python_Levenshtein-0.20.7-py3-none-any.whl
Algorithm Hash digest
SHA256 88a58b95e3340a918489dac0c78f731323c0a4d8f5564f839ffea80155574e77
MD5 8916ef2a8e8972bd05c877bf22e39884
BLAKE2b-256 41d18e8163dc28e9ca19abeac1898c0f50803b72d9a55898711424607cad15a8

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