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.20.5.tar.gz (121.3 kB view hashes)

Uploaded Source

Built Distributions

Levenshtein-0.20.5-pp39-pypy39_pp73-win_amd64.whl (94.7 kB view hashes)

Uploaded PyPy Windows x86-64

Levenshtein-0.20.5-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (168.9 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

Levenshtein-0.20.5-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (147.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

Levenshtein-0.20.5-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (225.4 kB view hashes)

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

Levenshtein-0.20.5-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (122.9 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

Levenshtein-0.20.5-pp38-pypy38_pp73-win_amd64.whl (94.9 kB view hashes)

Uploaded PyPy Windows x86-64

Levenshtein-0.20.5-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (170.2 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

Levenshtein-0.20.5-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (148.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

Levenshtein-0.20.5-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (225.9 kB view hashes)

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

Levenshtein-0.20.5-pp38-pypy38_pp73-macosx_10_9_x86_64.whl (123.1 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

Levenshtein-0.20.5-pp37-pypy37_pp73-win_amd64.whl (94.9 kB view hashes)

Uploaded PyPy Windows x86-64

Levenshtein-0.20.5-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (170.2 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

Levenshtein-0.20.5-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (148.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

Levenshtein-0.20.5-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (225.9 kB view hashes)

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

Levenshtein-0.20.5-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (123.1 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

Levenshtein-0.20.5-cp311-cp311-win_amd64.whl (98.8 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

Levenshtein-0.20.5-cp311-cp311-win32.whl (94.3 kB view hashes)

Uploaded CPython 3.11 Windows x86

Levenshtein-0.20.5-cp311-cp311-musllinux_1_1_x86_64.whl (670.0 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

Levenshtein-0.20.5-cp311-cp311-musllinux_1_1_s390x.whl (737.7 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ s390x

Levenshtein-0.20.5-cp311-cp311-musllinux_1_1_ppc64le.whl (707.7 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ ppc64le

Levenshtein-0.20.5-cp311-cp311-musllinux_1_1_i686.whl (778.4 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

Levenshtein-0.20.5-cp311-cp311-musllinux_1_1_aarch64.whl (642.1 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ ARM64

Levenshtein-0.20.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (174.2 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

Levenshtein-0.20.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl (183.6 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ s390x

Levenshtein-0.20.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (185.3 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ppc64le

Levenshtein-0.20.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (153.1 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

Levenshtein-0.20.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (227.3 kB view hashes)

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

Levenshtein-0.20.5-cp311-cp311-macosx_11_0_arm64.whl (96.1 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

Levenshtein-0.20.5-cp311-cp311-macosx_10_9_x86_64.whl (128.0 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

Levenshtein-0.20.5-cp311-cp311-macosx_10_9_universal2.whl (211.3 kB view hashes)

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

Levenshtein-0.20.5-cp310-cp310-win_amd64.whl (98.4 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

Levenshtein-0.20.5-cp310-cp310-win32.whl (93.8 kB view hashes)

Uploaded CPython 3.10 Windows x86

Levenshtein-0.20.5-cp310-cp310-musllinux_1_1_x86_64.whl (669.3 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

Levenshtein-0.20.5-cp310-cp310-musllinux_1_1_s390x.whl (736.9 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ s390x

Levenshtein-0.20.5-cp310-cp310-musllinux_1_1_ppc64le.whl (706.9 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ ppc64le

Levenshtein-0.20.5-cp310-cp310-musllinux_1_1_i686.whl (777.7 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

Levenshtein-0.20.5-cp310-cp310-musllinux_1_1_aarch64.whl (642.7 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ ARM64

Levenshtein-0.20.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (171.5 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

Levenshtein-0.20.5-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl (183.6 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ s390x

Levenshtein-0.20.5-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (184.9 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ppc64le

Levenshtein-0.20.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (150.4 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

Levenshtein-0.20.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (229.2 kB view hashes)

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

Levenshtein-0.20.5-cp310-cp310-macosx_11_0_arm64.whl (95.5 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

Levenshtein-0.20.5-cp310-cp310-macosx_10_9_x86_64.whl (127.3 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

Levenshtein-0.20.5-cp310-cp310-macosx_10_9_universal2.whl (209.9 kB view hashes)

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

Levenshtein-0.20.5-cp39-cp39-win_amd64.whl (98.5 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

Levenshtein-0.20.5-cp39-cp39-win32.whl (94.0 kB view hashes)

Uploaded CPython 3.9 Windows x86

Levenshtein-0.20.5-cp39-cp39-musllinux_1_1_x86_64.whl (668.1 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

Levenshtein-0.20.5-cp39-cp39-musllinux_1_1_s390x.whl (737.4 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ s390x

Levenshtein-0.20.5-cp39-cp39-musllinux_1_1_ppc64le.whl (707.6 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ ppc64le

Levenshtein-0.20.5-cp39-cp39-musllinux_1_1_i686.whl (777.7 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ i686

Levenshtein-0.20.5-cp39-cp39-musllinux_1_1_aarch64.whl (642.7 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ ARM64

Levenshtein-0.20.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (174.3 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

Levenshtein-0.20.5-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl (183.4 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ s390x

Levenshtein-0.20.5-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (183.3 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ppc64le

Levenshtein-0.20.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (150.2 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

Levenshtein-0.20.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (229.3 kB view hashes)

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

Levenshtein-0.20.5-cp39-cp39-macosx_11_0_arm64.whl (95.6 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

Levenshtein-0.20.5-cp39-cp39-macosx_10_9_x86_64.whl (127.5 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

Levenshtein-0.20.5-cp39-cp39-macosx_10_9_universal2.whl (210.3 kB view hashes)

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

Levenshtein-0.20.5-cp38-cp38-win_amd64.whl (98.6 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

Levenshtein-0.20.5-cp38-cp38-win32.whl (94.0 kB view hashes)

Uploaded CPython 3.8 Windows x86

Levenshtein-0.20.5-cp38-cp38-musllinux_1_1_x86_64.whl (669.6 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

Levenshtein-0.20.5-cp38-cp38-musllinux_1_1_s390x.whl (737.4 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ s390x

Levenshtein-0.20.5-cp38-cp38-musllinux_1_1_ppc64le.whl (707.5 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ ppc64le

Levenshtein-0.20.5-cp38-cp38-musllinux_1_1_i686.whl (785.1 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ i686

Levenshtein-0.20.5-cp38-cp38-musllinux_1_1_aarch64.whl (642.8 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ ARM64

Levenshtein-0.20.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (172.0 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

Levenshtein-0.20.5-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl (184.2 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ s390x

Levenshtein-0.20.5-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (184.5 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ppc64le

Levenshtein-0.20.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (148.9 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

Levenshtein-0.20.5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (229.6 kB view hashes)

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

Levenshtein-0.20.5-cp38-cp38-macosx_11_0_arm64.whl (95.3 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

Levenshtein-0.20.5-cp38-cp38-macosx_10_9_x86_64.whl (127.1 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

Levenshtein-0.20.5-cp38-cp38-macosx_10_9_universal2.whl (209.6 kB view hashes)

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

Levenshtein-0.20.5-cp37-cp37m-win_amd64.whl (99.1 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

Levenshtein-0.20.5-cp37-cp37m-win32.whl (94.1 kB view hashes)

Uploaded CPython 3.7m Windows x86

Levenshtein-0.20.5-cp37-cp37m-musllinux_1_1_x86_64.whl (670.9 kB view hashes)

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

Levenshtein-0.20.5-cp37-cp37m-musllinux_1_1_s390x.whl (738.6 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ s390x

Levenshtein-0.20.5-cp37-cp37m-musllinux_1_1_ppc64le.whl (708.6 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ ppc64le

Levenshtein-0.20.5-cp37-cp37m-musllinux_1_1_i686.whl (779.5 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ i686

Levenshtein-0.20.5-cp37-cp37m-musllinux_1_1_aarch64.whl (642.1 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ ARM64

Levenshtein-0.20.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (170.8 kB view hashes)

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

Levenshtein-0.20.5-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl (186.7 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ s390x

Levenshtein-0.20.5-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (183.9 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ppc64le

Levenshtein-0.20.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (151.2 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

Levenshtein-0.20.5-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (230.1 kB view hashes)

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

Levenshtein-0.20.5-cp37-cp37m-macosx_10_9_x86_64.whl (127.6 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

Levenshtein-0.20.5-cp36-cp36m-win_amd64.whl (97.5 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

Levenshtein-0.20.5-cp36-cp36m-win32.whl (92.9 kB view hashes)

Uploaded CPython 3.6m Windows x86

Levenshtein-0.20.5-cp36-cp36m-musllinux_1_1_x86_64.whl (668.8 kB view hashes)

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

Levenshtein-0.20.5-cp36-cp36m-musllinux_1_1_s390x.whl (735.9 kB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ s390x

Levenshtein-0.20.5-cp36-cp36m-musllinux_1_1_ppc64le.whl (706.2 kB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ ppc64le

Levenshtein-0.20.5-cp36-cp36m-musllinux_1_1_i686.whl (782.3 kB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ i686

Levenshtein-0.20.5-cp36-cp36m-musllinux_1_1_aarch64.whl (641.6 kB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ ARM64

Levenshtein-0.20.5-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (174.8 kB view hashes)

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

Levenshtein-0.20.5-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl (182.0 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ s390x

Levenshtein-0.20.5-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (188.0 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ ppc64le

Levenshtein-0.20.5-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (149.0 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ ARM64

Levenshtein-0.20.5-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (228.9 kB view hashes)

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

Levenshtein-0.20.5-cp36-cp36m-macosx_10_9_x86_64.whl (125.5 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