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

This is a fork of ztane/python-Levenshtein, since the original project is no longer actively maintained.

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/

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

Uploaded Source

Built Distributions

Levenshtein-0.20.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

Levenshtein-0.20.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

Levenshtein-0.20.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.4 MB view hashes)

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

Levenshtein-0.20.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

Levenshtein-0.20.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

Levenshtein-0.20.0-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.4 MB view hashes)

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

Levenshtein-0.20.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

Levenshtein-0.20.0-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

Levenshtein-0.20.0-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.4 MB view hashes)

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

Levenshtein-0.20.0-cp310-cp310-win_amd64.whl (182.1 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

Levenshtein-0.20.0-cp310-cp310-win32.whl (165.7 kB view hashes)

Uploaded CPython 3.10 Windows x86

Levenshtein-0.20.0-cp310-cp310-musllinux_1_1_x86_64.whl (1.9 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

Levenshtein-0.20.0-cp310-cp310-musllinux_1_1_s390x.whl (2.1 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ s390x

Levenshtein-0.20.0-cp310-cp310-musllinux_1_1_ppc64le.whl (1.9 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ ppc64le

Levenshtein-0.20.0-cp310-cp310-musllinux_1_1_i686.whl (2.1 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

Levenshtein-0.20.0-cp310-cp310-musllinux_1_1_aarch64.whl (1.8 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ ARM64

Levenshtein-0.20.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

Levenshtein-0.20.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.6 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ s390x

Levenshtein-0.20.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.4 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ppc64le

Levenshtein-0.20.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

Levenshtein-0.20.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.4 MB view hashes)

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

Levenshtein-0.20.0-cp310-cp310-macosx_11_0_arm64.whl (106.2 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

Levenshtein-0.20.0-cp310-cp310-macosx_10_9_x86_64.whl (136.5 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

Levenshtein-0.20.0-cp310-cp310-macosx_10_9_universal2.whl (230.3 kB view hashes)

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

Levenshtein-0.20.0-cp39-cp39-win_amd64.whl (182.2 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

Levenshtein-0.20.0-cp39-cp39-win32.whl (165.9 kB view hashes)

Uploaded CPython 3.9 Windows x86

Levenshtein-0.20.0-cp39-cp39-musllinux_1_1_x86_64.whl (1.9 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

Levenshtein-0.20.0-cp39-cp39-musllinux_1_1_s390x.whl (2.1 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ s390x

Levenshtein-0.20.0-cp39-cp39-musllinux_1_1_ppc64le.whl (1.9 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ ppc64le

Levenshtein-0.20.0-cp39-cp39-musllinux_1_1_i686.whl (2.1 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ i686

Levenshtein-0.20.0-cp39-cp39-musllinux_1_1_aarch64.whl (1.8 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ ARM64

Levenshtein-0.20.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

Levenshtein-0.20.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.6 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ s390x

Levenshtein-0.20.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.4 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ppc64le

Levenshtein-0.20.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

Levenshtein-0.20.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.4 MB view hashes)

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

Levenshtein-0.20.0-cp39-cp39-macosx_11_0_arm64.whl (106.5 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

Levenshtein-0.20.0-cp39-cp39-macosx_10_9_x86_64.whl (136.7 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

Levenshtein-0.20.0-cp39-cp39-macosx_10_9_universal2.whl (230.8 kB view hashes)

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

Levenshtein-0.20.0-cp38-cp38-win_amd64.whl (182.3 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

Levenshtein-0.20.0-cp38-cp38-win32.whl (165.9 kB view hashes)

Uploaded CPython 3.8 Windows x86

Levenshtein-0.20.0-cp38-cp38-musllinux_1_1_x86_64.whl (1.9 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

Levenshtein-0.20.0-cp38-cp38-musllinux_1_1_s390x.whl (2.1 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ s390x

Levenshtein-0.20.0-cp38-cp38-musllinux_1_1_ppc64le.whl (1.9 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ ppc64le

Levenshtein-0.20.0-cp38-cp38-musllinux_1_1_i686.whl (2.1 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ i686

Levenshtein-0.20.0-cp38-cp38-musllinux_1_1_aarch64.whl (1.8 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ ARM64

Levenshtein-0.20.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

Levenshtein-0.20.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.6 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ s390x

Levenshtein-0.20.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.4 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ppc64le

Levenshtein-0.20.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

Levenshtein-0.20.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.4 MB view hashes)

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

Levenshtein-0.20.0-cp38-cp38-macosx_11_0_arm64.whl (106.1 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

Levenshtein-0.20.0-cp38-cp38-macosx_10_9_x86_64.whl (136.4 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

Levenshtein-0.20.0-cp38-cp38-macosx_10_9_universal2.whl (230.2 kB view hashes)

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

Levenshtein-0.20.0-cp37-cp37m-win_amd64.whl (184.1 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

Levenshtein-0.20.0-cp37-cp37m-win32.whl (166.5 kB view hashes)

Uploaded CPython 3.7m Windows x86

Levenshtein-0.20.0-cp37-cp37m-musllinux_1_1_x86_64.whl (1.9 MB view hashes)

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

Levenshtein-0.20.0-cp37-cp37m-musllinux_1_1_s390x.whl (2.1 MB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ s390x

Levenshtein-0.20.0-cp37-cp37m-musllinux_1_1_ppc64le.whl (1.9 MB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ ppc64le

Levenshtein-0.20.0-cp37-cp37m-musllinux_1_1_i686.whl (2.1 MB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ i686

Levenshtein-0.20.0-cp37-cp37m-musllinux_1_1_aarch64.whl (1.8 MB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ ARM64

Levenshtein-0.20.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view hashes)

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

Levenshtein-0.20.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.6 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ s390x

Levenshtein-0.20.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.5 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ppc64le

Levenshtein-0.20.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

Levenshtein-0.20.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.4 MB view hashes)

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

Levenshtein-0.20.0-cp37-cp37m-macosx_10_9_x86_64.whl (136.7 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

Levenshtein-0.20.0-cp36-cp36m-win_amd64.whl (182.3 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

Levenshtein-0.20.0-cp36-cp36m-win32.whl (164.7 kB view hashes)

Uploaded CPython 3.6m Windows x86

Levenshtein-0.20.0-cp36-cp36m-musllinux_1_1_x86_64.whl (1.9 MB view hashes)

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

Levenshtein-0.20.0-cp36-cp36m-musllinux_1_1_s390x.whl (2.1 MB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ s390x

Levenshtein-0.20.0-cp36-cp36m-musllinux_1_1_ppc64le.whl (1.9 MB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ ppc64le

Levenshtein-0.20.0-cp36-cp36m-musllinux_1_1_i686.whl (2.0 MB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ i686

Levenshtein-0.20.0-cp36-cp36m-musllinux_1_1_aarch64.whl (1.8 MB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ ARM64

Levenshtein-0.20.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view hashes)

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

Levenshtein-0.20.0-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.6 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ s390x

Levenshtein-0.20.0-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.4 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ ppc64le

Levenshtein-0.20.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ ARM64

Levenshtein-0.20.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.4 MB view hashes)

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

Levenshtein-0.20.0-cp36-cp36m-macosx_10_9_x86_64.whl (134.7 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