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

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

Levenshtein-0.21.0.tar.gz (122.9 kB view hashes)

Uploaded Source

Built Distributions

Levenshtein-0.21.0-pp39-pypy39_pp73-win_amd64.whl (97.2 kB view hashes)

Uploaded PyPy Windows x86-64

Levenshtein-0.21.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (170.8 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

Levenshtein-0.21.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (153.2 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

Levenshtein-0.21.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (227.6 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

Levenshtein-0.21.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (127.6 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

Levenshtein-0.21.0-pp38-pypy38_pp73-win_amd64.whl (97.3 kB view hashes)

Uploaded PyPy Windows x86-64

Levenshtein-0.21.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (171.7 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

Levenshtein-0.21.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (152.0 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

Levenshtein-0.21.0-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (227.3 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

Levenshtein-0.21.0-pp38-pypy38_pp73-macosx_10_9_x86_64.whl (127.7 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

Levenshtein-0.21.0-pp37-pypy37_pp73-win_amd64.whl (97.3 kB view hashes)

Uploaded PyPy Windows x86-64

Levenshtein-0.21.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (171.7 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

Levenshtein-0.21.0-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (152.0 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

Levenshtein-0.21.0-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (227.3 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

Levenshtein-0.21.0-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (127.7 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

Levenshtein-0.21.0-cp311-cp311-win_amd64.whl (101.3 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

Levenshtein-0.21.0-cp311-cp311-win32.whl (96.7 kB view hashes)

Uploaded CPython 3.11 Windows x86

Levenshtein-0.21.0-cp311-cp311-musllinux_1_1_x86_64.whl (672.2 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

Levenshtein-0.21.0-cp311-cp311-musllinux_1_1_s390x.whl (740.0 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ s390x

Levenshtein-0.21.0-cp311-cp311-musllinux_1_1_ppc64le.whl (709.6 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ ppc64le

Levenshtein-0.21.0-cp311-cp311-musllinux_1_1_i686.whl (780.8 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

Levenshtein-0.21.0-cp311-cp311-musllinux_1_1_aarch64.whl (645.4 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ ARM64

Levenshtein-0.21.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (174.0 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

Levenshtein-0.21.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl (186.0 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ s390x

Levenshtein-0.21.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (185.6 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ppc64le

Levenshtein-0.21.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (151.7 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

Levenshtein-0.21.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (230.9 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

Levenshtein-0.21.0-cp311-cp311-macosx_11_0_arm64.whl (97.7 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

Levenshtein-0.21.0-cp311-cp311-macosx_10_9_x86_64.whl (132.5 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

Levenshtein-0.21.0-cp311-cp311-macosx_10_9_universal2.whl (215.3 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)

Levenshtein-0.21.0-cp310-cp310-win_amd64.whl (100.9 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

Levenshtein-0.21.0-cp310-cp310-win32.whl (96.2 kB view hashes)

Uploaded CPython 3.10 Windows x86

Levenshtein-0.21.0-cp310-cp310-musllinux_1_1_x86_64.whl (671.8 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

Levenshtein-0.21.0-cp310-cp310-musllinux_1_1_s390x.whl (739.4 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ s390x

Levenshtein-0.21.0-cp310-cp310-musllinux_1_1_ppc64le.whl (708.9 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ ppc64le

Levenshtein-0.21.0-cp310-cp310-musllinux_1_1_i686.whl (779.7 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

Levenshtein-0.21.0-cp310-cp310-musllinux_1_1_aarch64.whl (644.7 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ ARM64

Levenshtein-0.21.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (174.1 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

Levenshtein-0.21.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl (185.8 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ s390x

Levenshtein-0.21.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (183.7 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ppc64le

Levenshtein-0.21.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (157.3 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

Levenshtein-0.21.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (230.5 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

Levenshtein-0.21.0-cp310-cp310-macosx_11_0_arm64.whl (97.1 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

Levenshtein-0.21.0-cp310-cp310-macosx_10_9_x86_64.whl (131.9 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

Levenshtein-0.21.0-cp310-cp310-macosx_10_9_universal2.whl (214.1 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)

Levenshtein-0.21.0-cp39-cp39-win_amd64.whl (101.0 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

Levenshtein-0.21.0-cp39-cp39-win32.whl (96.4 kB view hashes)

Uploaded CPython 3.9 Windows x86

Levenshtein-0.21.0-cp39-cp39-musllinux_1_1_x86_64.whl (670.1 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

Levenshtein-0.21.0-cp39-cp39-musllinux_1_1_s390x.whl (739.4 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ s390x

Levenshtein-0.21.0-cp39-cp39-musllinux_1_1_ppc64le.whl (709.4 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ ppc64le

Levenshtein-0.21.0-cp39-cp39-musllinux_1_1_i686.whl (779.9 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ i686

Levenshtein-0.21.0-cp39-cp39-musllinux_1_1_aarch64.whl (644.6 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ ARM64

Levenshtein-0.21.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (175.5 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

Levenshtein-0.21.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl (185.3 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ s390x

Levenshtein-0.21.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (186.5 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ppc64le

Levenshtein-0.21.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (151.8 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

Levenshtein-0.21.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (232.5 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

Levenshtein-0.21.0-cp39-cp39-macosx_11_0_arm64.whl (97.2 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

Levenshtein-0.21.0-cp39-cp39-macosx_10_9_x86_64.whl (132.0 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

Levenshtein-0.21.0-cp39-cp39-macosx_10_9_universal2.whl (214.3 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)

Levenshtein-0.21.0-cp38-cp38-win_amd64.whl (101.1 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

Levenshtein-0.21.0-cp38-cp38-win32.whl (96.4 kB view hashes)

Uploaded CPython 3.8 Windows x86

Levenshtein-0.21.0-cp38-cp38-musllinux_1_1_x86_64.whl (672.0 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

Levenshtein-0.21.0-cp38-cp38-musllinux_1_1_s390x.whl (739.6 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ s390x

Levenshtein-0.21.0-cp38-cp38-musllinux_1_1_ppc64le.whl (709.6 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ ppc64le

Levenshtein-0.21.0-cp38-cp38-musllinux_1_1_i686.whl (779.9 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ i686

Levenshtein-0.21.0-cp38-cp38-musllinux_1_1_aarch64.whl (645.0 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ ARM64

Levenshtein-0.21.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (174.0 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

Levenshtein-0.21.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl (185.3 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ s390x

Levenshtein-0.21.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (188.6 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ppc64le

Levenshtein-0.21.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (149.9 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

Levenshtein-0.21.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (232.4 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

Levenshtein-0.21.0-cp38-cp38-macosx_11_0_arm64.whl (96.9 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

Levenshtein-0.21.0-cp38-cp38-macosx_10_9_x86_64.whl (131.6 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

Levenshtein-0.21.0-cp38-cp38-macosx_10_9_universal2.whl (213.6 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64)

Levenshtein-0.21.0-cp37-cp37m-win_amd64.whl (101.5 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

Levenshtein-0.21.0-cp37-cp37m-win32.whl (96.6 kB view hashes)

Uploaded CPython 3.7m Windows x86

Levenshtein-0.21.0-cp37-cp37m-musllinux_1_1_x86_64.whl (672.2 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ x86-64

Levenshtein-0.21.0-cp37-cp37m-musllinux_1_1_s390x.whl (740.8 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ s390x

Levenshtein-0.21.0-cp37-cp37m-musllinux_1_1_ppc64le.whl (711.2 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ ppc64le

Levenshtein-0.21.0-cp37-cp37m-musllinux_1_1_i686.whl (781.7 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ i686

Levenshtein-0.21.0-cp37-cp37m-musllinux_1_1_aarch64.whl (643.9 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ ARM64

Levenshtein-0.21.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (175.9 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

Levenshtein-0.21.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl (188.6 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ s390x

Levenshtein-0.21.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (191.2 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ppc64le

Levenshtein-0.21.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (151.0 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

Levenshtein-0.21.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (233.9 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

Levenshtein-0.21.0-cp37-cp37m-macosx_10_9_x86_64.whl (132.2 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

Levenshtein-0.21.0-cp36-cp36m-win_amd64.whl (99.9 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

Levenshtein-0.21.0-cp36-cp36m-win32.whl (95.3 kB view hashes)

Uploaded CPython 3.6m Windows x86

Levenshtein-0.21.0-cp36-cp36m-musllinux_1_1_x86_64.whl (669.4 kB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ x86-64

Levenshtein-0.21.0-cp36-cp36m-musllinux_1_1_s390x.whl (737.8 kB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ s390x

Levenshtein-0.21.0-cp36-cp36m-musllinux_1_1_ppc64le.whl (708.6 kB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ ppc64le

Levenshtein-0.21.0-cp36-cp36m-musllinux_1_1_i686.whl (781.8 kB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ i686

Levenshtein-0.21.0-cp36-cp36m-musllinux_1_1_aarch64.whl (644.3 kB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ ARM64

Levenshtein-0.21.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (177.6 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ x86-64

Levenshtein-0.21.0-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl (184.1 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ s390x

Levenshtein-0.21.0-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (189.2 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ ppc64le

Levenshtein-0.21.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (156.7 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ ARM64

Levenshtein-0.21.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (231.3 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

Levenshtein-0.21.0-cp36-cp36m-macosx_10_9_x86_64.whl (130.3 kB view hashes)

Uploaded CPython 3.6m macOS 10.9+ x86-64

Supported by

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