Skip to main content

A fast library for string metrics, including Levenshtein distance

Project description

Stringmetrics

A library that implements Levenshtein distance and other string metrics. This

Python bindings for the Rust stringmetrics library

>>> from stringmetrics import levenshtein
>>> levenshtein("a slow cat", "a fast bat")
5
>>> levenshtein("a slow cat", "a fast bat", limit=3)
3

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

stringmetrics-2.0.6.tar.gz (18.5 kB view details)

Uploaded Source

Built Distributions

stringmetrics-2.0.6-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl (982.1 kB view details)

Uploaded PyPy manylinux: glibc 2.5+ x86-64

stringmetrics-2.0.6-cp310-none-win_amd64.whl (109.5 kB view details)

Uploaded CPython 3.10 Windows x86-64

stringmetrics-2.0.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (978.4 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.5+ x86-64

stringmetrics-2.0.6-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (417.5 kB view details)

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

stringmetrics-2.0.6-cp39-none-win_amd64.whl (109.5 kB view details)

Uploaded CPython 3.9 Windows x86-64

stringmetrics-2.0.6-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (978.1 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.5+ x86-64

stringmetrics-2.0.6-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (417.1 kB view details)

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

stringmetrics-2.0.6-cp38-none-win_amd64.whl (109.3 kB view details)

Uploaded CPython 3.8 Windows x86-64

stringmetrics-2.0.6-cp38-cp38-musllinux_1_1_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

stringmetrics-2.0.6-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (978.6 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.5+ x86-64

stringmetrics-2.0.6-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (418.0 kB view details)

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

stringmetrics-2.0.6-cp37-none-win_amd64.whl (109.2 kB view details)

Uploaded CPython 3.7 Windows x86-64

stringmetrics-2.0.6-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (978.7 kB view details)

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

stringmetrics-2.0.6-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (418.0 kB view details)

Uploaded CPython 3.7m macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

File details

Details for the file stringmetrics-2.0.6.tar.gz.

File metadata

  • Download URL: stringmetrics-2.0.6.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.13.0

File hashes

Hashes for stringmetrics-2.0.6.tar.gz
Algorithm Hash digest
SHA256 5ec581eb8e5af9bfe898d9e6f615b826d4ead312b0caf6dae3fe283e0383d0ca
MD5 735c2bff625344e544ffa8ed87111818
BLAKE2b-256 8843b41acbcd80dbebe32e59f72f9cc4fb003d48820fc52a4de4b165a1be99f7

See more details on using hashes here.

File details

Details for the file stringmetrics-2.0.6-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for stringmetrics-2.0.6-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 916492030bf7295f8e38cc2b9526490c4e72418895601d4c6da92396a32d11ff
MD5 b3ef5e38ac2d3d3411617a4b7e8cf219
BLAKE2b-256 a7a4d0888b487e71c92574c8795923f507fa45ee15542edc8252b9b3ff3915c7

See more details on using hashes here.

File details

Details for the file stringmetrics-2.0.6-cp310-none-win_amd64.whl.

File metadata

File hashes

Hashes for stringmetrics-2.0.6-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 dd6022dcb49447bc8942f9d13e007255d871f6de68eb58ad0dc68f7c1510dc86
MD5 45de80fa5366773a8930ac7cd01c457c
BLAKE2b-256 1e2a2d64f74e34d437e4e66e525f4c4c37d7afeed66cb2bbc20b4283896e6e72

See more details on using hashes here.

File details

Details for the file stringmetrics-2.0.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for stringmetrics-2.0.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3c3d983f2d74b268abacf9fc1f390b4a4a3d92072fc1f57cbfe3dfd148d96771
MD5 5382e9ee46b49cf21ced75132c106e51
BLAKE2b-256 1169b1dfdcb9f7343fe475f459b1107b992299cf5295a50c6673c4ef7649ff5b

See more details on using hashes here.

File details

Details for the file stringmetrics-2.0.6-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for stringmetrics-2.0.6-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d69baf2746fad72ddfc602e360553be5bc46e007ad496067a31092c26eba44e8
MD5 6c471fc59ff5d85f13734066394e55e9
BLAKE2b-256 aa5561a03828e7dd43c74f0381487e1fa3744f616dd92168fb6bbc240d66f9f4

See more details on using hashes here.

File details

Details for the file stringmetrics-2.0.6-cp39-none-win_amd64.whl.

File metadata

File hashes

Hashes for stringmetrics-2.0.6-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 66481bd070591c27d4171b0ed769daf4d428085cd39a531e0748ede26f7bfc66
MD5 5b99b36616263881c7deddaa63d65889
BLAKE2b-256 effd2ffa79db93279dec27770e4fe4bbe57bf80bb838bb3fc4bc0a1646680172

See more details on using hashes here.

File details

Details for the file stringmetrics-2.0.6-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for stringmetrics-2.0.6-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0dd999d5939c2ee34cdcb635f9f52d32c837dbaa3c9627522b975aff862eab19
MD5 85cc809664ffc18532ebe72c2401af45
BLAKE2b-256 a9fefcd484a4dbee5a3916763d50ce85d7454b311e103437355b5c67db3895dc

See more details on using hashes here.

File details

Details for the file stringmetrics-2.0.6-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for stringmetrics-2.0.6-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 6652c3b1f086b01adf72285fcfe43713f4b98d9a1dffb09157ba28572afd58a2
MD5 61d545f6f11ae2843ed4a64faf94ccdb
BLAKE2b-256 0dee9bae0c64461b9e69840a77bb3e0539fa31bd85d031bbd339857e1cd4e09b

See more details on using hashes here.

File details

Details for the file stringmetrics-2.0.6-cp38-none-win_amd64.whl.

File metadata

File hashes

Hashes for stringmetrics-2.0.6-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 3dd8f96083e5bc631b8846c43317e88337f605cf225a350eea0c8a3de5136bc0
MD5 b4a26f67f6da6822c16e1af2f8ecf376
BLAKE2b-256 692c885d989844815291ca64ba679ad00717dc1fff3d7004e7f77ace5c8f046d

See more details on using hashes here.

File details

Details for the file stringmetrics-2.0.6-cp38-cp38-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for stringmetrics-2.0.6-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 19c43975f676ab6fe6d136e265e2a2d15b290956a8e8b1d3e040a4b92b901432
MD5 da4f1fa50f08ba8316b69257d282b2d4
BLAKE2b-256 555679f7f520d1e8bc16f54a5b895f5b97cca8b15df8a526963ef2e2a065bc93

See more details on using hashes here.

File details

Details for the file stringmetrics-2.0.6-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for stringmetrics-2.0.6-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 086f0d0938a0bebea22221562473eb5e78007ed5df1e74bcc40d609505bf32d7
MD5 3eee35982c489338804aeeb39cac0f25
BLAKE2b-256 716913d24ad53c09aa5a55928c5409af7870470411202844d1f86bcbd7d0effc

See more details on using hashes here.

File details

Details for the file stringmetrics-2.0.6-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for stringmetrics-2.0.6-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 db86dae5846081e3557bbdcda5e2b28d4b078750539a78b6c7cd3e694ba04c9a
MD5 95ace696165c7325fbca10cef4e05425
BLAKE2b-256 a0bb26252254c706dad3a31d3bd49f92f9f55639e6837e1426f8903fd8c97985

See more details on using hashes here.

File details

Details for the file stringmetrics-2.0.6-cp37-none-win_amd64.whl.

File metadata

File hashes

Hashes for stringmetrics-2.0.6-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 404b76f49667c1e6a7c706366de50ec0a299a69e7f46c0033395ca18369b54b7
MD5 c66c397f9a492a7b5210bd048d02649b
BLAKE2b-256 8a18773916d138a57d6389ed290cd05d5922305b2f605add4cecac6069ae8464

See more details on using hashes here.

File details

Details for the file stringmetrics-2.0.6-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for stringmetrics-2.0.6-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 36e883f0447d8ddf601c0eba0045095da924dbbdc8d170f2623e1a3156c2524c
MD5 8ba0364a743b0aeceb5f2f1e486ecc46
BLAKE2b-256 9c7fb356fd66751f64d3f0d9113482718a3ce661f838d0baf9cc2be048fc368d

See more details on using hashes here.

File details

Details for the file stringmetrics-2.0.6-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for stringmetrics-2.0.6-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 258a583302fa9bce2892478acc42b710a3dce4bcbd9b1a7ac920163ceea8b7c6
MD5 14b3f5e08115526a7665a9d65935903a
BLAKE2b-256 ea7647c30cdbaf039068a88e51d467cf8d4c6d389d18fbb7c8778d6cc1c3d89e

See more details on using hashes here.

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