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.1.0.tar.gz (20.0 kB view details)

Uploaded Source

Built Distributions

stringmetrics-2.1.0-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl (981.3 kB view details)

Uploaded PyPy manylinux: glibc 2.5+ x86-64

stringmetrics-2.1.0-cp310-none-win_amd64.whl (108.9 kB view details)

Uploaded CPython 3.10 Windows x86-64

stringmetrics-2.1.0-cp310-cp310-musllinux_1_1_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

stringmetrics-2.1.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (978.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.5+ x86-64

stringmetrics-2.1.0-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (416.6 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.1.0-cp39-none-win_amd64.whl (109.0 kB view details)

Uploaded CPython 3.9 Windows x86-64

stringmetrics-2.1.0-cp39-cp39-musllinux_1_1_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

stringmetrics-2.1.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (978.0 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.5+ x86-64

stringmetrics-2.1.0-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (416.2 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.1.0-cp38-none-win_amd64.whl (108.5 kB view details)

Uploaded CPython 3.8 Windows x86-64

stringmetrics-2.1.0-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.1.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (978.5 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.5+ x86-64

stringmetrics-2.1.0-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (417.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.1.0-cp37-none-win_amd64.whl (108.5 kB view details)

Uploaded CPython 3.7 Windows x86-64

stringmetrics-2.1.0-cp37-cp37m-musllinux_1_1_x86_64.whl (1.2 MB view details)

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

stringmetrics-2.1.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (978.4 kB view details)

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

stringmetrics-2.1.0-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (417.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.1.0.tar.gz.

File metadata

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

File hashes

Hashes for stringmetrics-2.1.0.tar.gz
Algorithm Hash digest
SHA256 d6b3d85d98d990f1cd577a296151824f01448e7b0cb9b12894a92d4db12505d7
MD5 de89b304eaf005677d5030e75b04fa64
BLAKE2b-256 40970aa61a56d1f544cecd5581c9fdd8bf5ba635301c2830c912f50347a7ff9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.0-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d8dbc86a1ee8aefd7992886232d03414d865b05dbe55e92ef55e7fc0e14787ad
MD5 9dfca3c8cae914bc56a1df86f827e5aa
BLAKE2b-256 6a7ef9802e144ed0451887b3949516c9a149ed58f357ac990a01d63509466811

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.0-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 69241f9ba7c51eae255c2309eb23a195ad2bd43862a8060f4851592d50186be4
MD5 11b7b3a7fd1e24c67449b2d6f509e342
BLAKE2b-256 70778ae7aff849459650096d5e608e6b224c5069ec1373998ad37072e7b2d002

See more details on using hashes here.

File details

Details for the file stringmetrics-2.1.0-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for stringmetrics-2.1.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 4831fc37299c56f323f1599b52c07fe1bc38c60c8128e689eb56d8b01be9d4c1
MD5 ec5e3a7a5f929c8837e7e3dda0e4b68a
BLAKE2b-256 f74ad900bc3aa6946eaba74663b8b8429510fc65095bba0d1100218d27101d56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8b61ab3493767e886731bd95978430b72db3c176bc53811800c30c958ec93b19
MD5 14be6b94ccf033dea42c6b967891bd14
BLAKE2b-256 e9095b01a442ef257af20425fc4057b1987a897e5b2669d42d0ad1a39a72f5c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.0-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 6501897f7148fe766996517e6ad7eaac40f8e81ea97eeef5e1ffe80e38d71eb9
MD5 e2be2a1d28b433b67ab6527776abcf92
BLAKE2b-256 0426e85c03ea4bd81849b9dda437936f6ccd135f79b93b7748a713f26bff366f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.0-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 1daf6604ab78cb05556b6cf0a356979c05a2696f4ab857d8ff7e9b52cfbeef7f
MD5 ab3484621808f0683af28835366d45ba
BLAKE2b-256 48469ce7eeee0048f9eff1fe635d2bbdf2ee34eab4a2facc8802755e9080c577

See more details on using hashes here.

File details

Details for the file stringmetrics-2.1.0-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for stringmetrics-2.1.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 c6345d3b0cc7e08f7f4d8bc2fb1a73181bb700b419e1ca88c2dc906633e61144
MD5 e87bb37d2ad93a4a103c5b9cb2cbe17a
BLAKE2b-256 0b0345a7119d58df215a1d79cb93761dbcbfd13c869d8bdec649ae4b47a718d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 36729042d5af05112ff30076269d96536f0aab9434e3601d2a0c5cc12d1968d7
MD5 a1f7d4cc4e8d909772ecf1694b939af6
BLAKE2b-256 9cdd075e0bf38296055c779b22489a6ff50b2779364ff08a8f0d0bce30850ef8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.0-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f98888cb93efcb158503b7337c1cb6cbf6baf0f84703480de0f979fe817ab2a5
MD5 6c4cd7b4e9eba225358cb346ed7017ad
BLAKE2b-256 6384bc5a35d8ec0efcf0ba69aa165a58035ace22b138fe2a01d2e21c436c47c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.0-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 efe54c6d6d1f9efab048ab7858ccfe3806e093237fecf3f77b007d81542a21ff
MD5 196b98d18eff576272301f84d38f0b59
BLAKE2b-256 ce6f6e8509e2fe928e87d10ef7fb20562215573905ded8798fbcf6d9e58acbd5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 57f7bed879b092206acb919d8dbe4dfd833d422bb23f82a5dd1b7d0e8e19513a
MD5 a7b9b28b62ffc107967ef8a761727c3f
BLAKE2b-256 57e90c0c006d14c0fcb2304050a0f05ca2b31395aec873fe195666c47a3daedb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 472b37c7d243142a1820983c9e5210ce0fe502db4013a5aef0149ea0bc0945ea
MD5 bc0fe91699a9231ef6c81376be616452
BLAKE2b-256 5c25ef71be0e47ddce9d48b82768458dfb8f25ff725d6fad30bd13ba03e9ba2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.0-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 338aedd11d44573847234c5b0a13a26ed0e892cb8fe7fc30d9c476d634d1a123
MD5 07093a7d39a996681d330dc964a6cc96
BLAKE2b-256 570372e4c33644322f810b671c327b102f3caa063f2f5b0e9a4b879390484a25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.0-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 ee85b9008a071410befbc296296900392ae4cc03f06230344fe28bfc563af949
MD5 f0c432ae17798761e5f867ba00d184b4
BLAKE2b-256 6a90e3893dc174db7e12519095c1cc8ecf83c5f13196483e8eca21ad196a6eb2

See more details on using hashes here.

File details

Details for the file stringmetrics-2.1.0-cp37-cp37m-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for stringmetrics-2.1.0-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b0dddc787da22f422644e9f20b26917d1050e1538bd9727b20490210acaafc60
MD5 697f4955ec448e3670c72ca9dd31269c
BLAKE2b-256 ef635453d9e7e4526150ebb0a7a327a79d5cc37471e647566b90bd9e0f45dc09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 eb1c6cd84a0b6c09365e4ba42bbb30c56e9f96235878f3433cc339b18e8bef17
MD5 f52a5a228a9df6e034abce09baf3a73e
BLAKE2b-256 0bfe87c05aa3cd2d208abf3a9aeb9c39d1c8ce70f6391c4a5a9dba12d5fd5a22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.0-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 bb9023e65b113a2a23ee69980d99cbc459a24fa911e8ba6b33136c95c2ed8214
MD5 767b6e72cff10c217e8ccf21be34ebc8
BLAKE2b-256 132069419701cb2d2f7f112a6ad4b552e02bf0648dc841d4117e3d291057c236

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