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

Uploaded Source

Built Distributions

stringmetrics-2.1.3-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl (980.3 kB view details)

Uploaded PyPy manylinux: glibc 2.5+ x86-64

stringmetrics-2.1.3-cp310-none-win_amd64.whl (107.8 kB view details)

Uploaded CPython 3.10 Windows x86-64

stringmetrics-2.1.3-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.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (977.3 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.5+ x86-64

stringmetrics-2.1.3-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (415.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.1.3-cp39-none-win_amd64.whl (107.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

stringmetrics-2.1.3-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.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (977.2 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.5+ x86-64

stringmetrics-2.1.3-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (415.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.3-cp38-none-win_amd64.whl (108.1 kB view details)

Uploaded CPython 3.8 Windows x86-64

stringmetrics-2.1.3-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.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (977.2 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.5+ x86-64

stringmetrics-2.1.3-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (415.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.3-cp37-none-win_amd64.whl (108.0 kB view details)

Uploaded CPython 3.7 Windows x86-64

stringmetrics-2.1.3-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.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (977.2 kB view details)

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

stringmetrics-2.1.3-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (415.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.3.tar.gz.

File metadata

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

File hashes

Hashes for stringmetrics-2.1.3.tar.gz
Algorithm Hash digest
SHA256 ee29a094cc1c734553b36f1f00ff4764aa51af5e15dbdfe4e41d9012b0ce3245
MD5 5f9f9db670f630ceec751b262ce3575c
BLAKE2b-256 38097f24759a4b0a9a28a29c48ed83a3c8dfd21c4f48c9546a1970af3faf49be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.3-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d7d04e1513691981d96528a8fd2c6ae77e0868b71a3ed1446e7514496ca85693
MD5 5ee2411a272258536c9343c5f73911da
BLAKE2b-256 defb828b7954c6d625d22507c8c3c6165521e4a2eed628c38884fe8682f5f90b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.3-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 112743f5f3297774a7e9a9a83954d096e2c10d18033e67cb86705fba9c28233c
MD5 4420d97b1a6781dd01212ebbe9797a53
BLAKE2b-256 0798df4f70fd84c1733b5f953db764dc639b282b60d8c6ca9911adfe28f4f062

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.3-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 a05a378051cda268d72c2ae60f8aa23f3ef8b3f7bb4ca7f5e5b21cd749bface5
MD5 23065ac9193e5ff58dc4337bd0676317
BLAKE2b-256 403b6571be611c2932ea6c599a888004eed4cead40d9cb32c5cd8cd98440b45e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 94783e549c224f74b51abd25ab4245564e1a4f1d47b57f222b1316ce35cca931
MD5 9dee7c8f49b547597f53e4cfa67968f5
BLAKE2b-256 3a6f5eb9a4b759f3a9a7060dcc56a9878b7fd47566371a12f332d4c96e8f0bdc

See more details on using hashes here.

File details

Details for the file stringmetrics-2.1.3-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.3-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f9f05141391c1e70ee57000c8afbc2b72e794af7a87df89a7d069f5a63b08c94
MD5 fbf5473425c0286153ee4d10c87b67af
BLAKE2b-256 66b34f40e013375246662817eb31ac9f834b9a588e6a04d499d349df726cd49a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.3-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 e555f29085c905a1f86fd1d2c6d25c9866266c21035d49eab61494831650b1de
MD5 b2dd1f899dae6a29c82b0d4547a908f4
BLAKE2b-256 cebe029577d9f0ce79ca28b24cf8112bea053dcd88562c8afbd9df08caddbf54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.3-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 1e1ae24596ea2ff860135505f9432b6b197bad985c4668b035e634ea66520998
MD5 9076e6b15d4227b0e24318492b46aa34
BLAKE2b-256 eda6b81b3b21cccbae71e9545b5ccaca4fd6afff3d3d5b69d650f75827d90299

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d404257f303eeb3d4019579b687d463c5285dd76acf43aad352ec0ae546ee3ed
MD5 20cc34e4e1808cb9118356275e656a97
BLAKE2b-256 b8cf1ce2068189b16ca27191f910423673fc69b8c2ae91ae58abd7af4aafa16d

See more details on using hashes here.

File details

Details for the file stringmetrics-2.1.3-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.3-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ac0b9bbce8fb9c11062b3f87534de5da72e4a213e62b6d51686ecdf355754a48
MD5 02377b93de07d0e4f0cc507a41eeaaed
BLAKE2b-256 fbe6633aa2a9147e081fb6efcab12d6a2c8399c1a3fe04c7798e3f9e449029be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.3-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 3fb47eb6b00a69984af023fa0e063799f4839d673ba3f83b95e402d2985d7dc0
MD5 586868cfb9c58f5e011b76718f1378bc
BLAKE2b-256 fe5ad13054c97fee1df39f8ddf83844d7c96cf34bb420acc05eb15b27b5067c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.3-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 71cdd790bfa160a0af827eb4ee2b5d2f456e92fc7c7ce86baae68cb06d427cfb
MD5 75a8d931a583b3abce41b809f2459e18
BLAKE2b-256 172559003f8a0461b1cf2722bc1c9ef4f6eb19c2d34bdac9e2a4e49369f5dde6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bfcfef0abf8f19d4237426bd209e5acea4c1dd137c896350dda0d5d3941b0b57
MD5 4170c555260e93a9ad770c5000ff054f
BLAKE2b-256 12798861579b914d1a3c0122ed01de2aaccc74bb374560894970acc44a37d18d

See more details on using hashes here.

File details

Details for the file stringmetrics-2.1.3-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.3-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ec9b826ff767f42597b03d33f3ab964bd75563be4539b7059e9f285d0c309d1e
MD5 545d2f41b5a0204b5a2f44f6b4333a02
BLAKE2b-256 d4a202faa0f1a963003422aa9c61532c75e5ce6dbf8fb3c06d2a0ac10ebd8d8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.3-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 80ef09c3d1b6897632826a4c55aa215086c0f2e34129a7fa943fd86831771319
MD5 302fa1f53c58aa212a659da190191119
BLAKE2b-256 db6b9bb9fd29ee57cb880aea79a9a1f06cabfbc53b01cd8979fb86e85ca6e81b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.3-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 9971edc84e54af386373aa3ee5c81b8d85ca6c566789a2977787d13efd25ee85
MD5 1a353a60316cc9e8343bc5f8e233dc8b
BLAKE2b-256 cce0d2e56cf2f616a6c8ac7d080d1a81fe26467194e0ad5b68fe879cdbd72e75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3a7de34e0095f2fc37aca86b35666b0cf2bc6780f631ced4a103519682e96343
MD5 520115bcd99bf1817becfa8a47c7257c
BLAKE2b-256 f6b68c477f14bcb406aedba320ad8edc1d316025cd0099950a7244603a9197ec

See more details on using hashes here.

File details

Details for the file stringmetrics-2.1.3-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.3-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 9e3b8a26d8a0941f8db0e59fee918a7c2f6c424689d66d524ff9301f60e737e0
MD5 00f8af8b4f8f41650e20af34c654f071
BLAKE2b-256 891fbef07cd3c7b305ecb3a753a6eb97ddb32d7fb823d6141fc8ae5204c1a7ab

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