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

Uploaded Source

Built Distributions

stringmetrics-2.1.2-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.2-cp310-none-win_amd64.whl (108.8 kB view details)

Uploaded CPython 3.10 Windows x86-64

stringmetrics-2.1.2-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.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (978.2 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.5+ x86-64

stringmetrics-2.1.2-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.2-cp39-none-win_amd64.whl (108.9 kB view details)

Uploaded CPython 3.9 Windows x86-64

stringmetrics-2.1.2-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.2-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.2-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.2-cp38-none-win_amd64.whl (108.5 kB view details)

Uploaded CPython 3.8 Windows x86-64

stringmetrics-2.1.2-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.2-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.2-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.2-cp37-none-win_amd64.whl (108.4 kB view details)

Uploaded CPython 3.7 Windows x86-64

stringmetrics-2.1.2-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.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (978.5 kB view details)

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

stringmetrics-2.1.2-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.2.tar.gz.

File metadata

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

File hashes

Hashes for stringmetrics-2.1.2.tar.gz
Algorithm Hash digest
SHA256 a2934ee02295f949397fe7b9faf647731aa1ed9b90dc9a97d6ef615dce23f163
MD5 c08e9d4519c1538e6d496ffb2ad5a903
BLAKE2b-256 1f92c90f15c1459c6efeaf18439a1474ac5aa2a7c1e625b86c5d93b89e001dd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.2-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 08000e78bcf45ba58d627634a53fb68ab9a8c5ff40bc8f3f204ee34a20aa306b
MD5 32ed4962c87d7bfa3f5ab6d2d79e7842
BLAKE2b-256 3d3ab5d135f565853fb66e0785e62bc7ab4b30364cf95a0d9d757b31da0d49e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.2-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 8432d9ea04c09a2be6b9bc8518cd3955ce60bc049e48af4afd6cd7ce71f5f723
MD5 d7967981e9e1d70f7b7dbb978ba2118a
BLAKE2b-256 d23683da346aed8ec2b056a23b5866ff5f999d2aff1b5fdf0630399f70a9e827

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.2-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 831af146972079f4340a7abe65a3e9682037c5ecf4690230e642c51cac19a0ef
MD5 7ead47fe483c61f33039774c7975425a
BLAKE2b-256 aa628b937905c17bb442ffbf91fff6313d6d396faeb2fa319f7ad1b15c0998e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fe25761df03b4f7bd0197f978cf408bab9db7cd6e1f7eb43b05cb06029372321
MD5 ad4fb3ebfdcceff5c512a2443e748d79
BLAKE2b-256 984789bd3d2daa3eaabcae90502d7890d2c04c596af3c64aa2fdb4b0c2629ef2

See more details on using hashes here.

File details

Details for the file stringmetrics-2.1.2-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.2-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 359f955e827eb0d74bc514da6c5d57d773b6d3552dbbd9add89cde0837c20b08
MD5 043b37cb58d46beca90b344e8a99b524
BLAKE2b-256 1f072f4f77f07e40a7aa596fa12edb0b5ffcc038fe154bbc1e6c30f4f1037ea0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.2-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 ed7a3ce09a6212cdc2c08364544ba290ff90c7fe5b087fde76ba8b99d8eebc57
MD5 5cb44fffd46e9ff95a46096f9a88c8d1
BLAKE2b-256 652828773c99849369902e508be7bcab7a4de23ea297c2eafe785fd0a8035be8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.2-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 2d0d53937b4ceac9f96681fb0c08f54e29a7a1e56be0b7314952878a90d4698e
MD5 74faeb5d4aeba9b30cb6ed42a0d9809a
BLAKE2b-256 26fd0e4cc9c5b6c46f0fb9c9f0a8acb9d4395f3bfcdb6170226f25a90f499580

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8a3befeeab567d844080fa7a0dac19f91c5fa2249598b12557f4015c4bd563db
MD5 b5f4d82ba72160456c2739b9c091f796
BLAKE2b-256 92af8e55bafb30c54c2bedad1ff4cb3d62fcc7922612ed4bd568d79f59a658e1

See more details on using hashes here.

File details

Details for the file stringmetrics-2.1.2-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.2-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b5f0cbcd2fbafd6b57ef212661749f973ac970502d2c19851ac710f22f765077
MD5 d15a79c61654b5dd24acf2240ef33d67
BLAKE2b-256 68b5d3b97ecef54382a90a70f95db08629033a4b73c8032e0d416160717c4c93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.2-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 a97c0b413382a845cac6cb15ff6c01da657b19cad7cdc6cf35f5c2ae82ce48a3
MD5 fd306e3f149db1f3089efaa33c9bf0f6
BLAKE2b-256 3433b3fa7a54b52eb673b56a87b7305503bb1a469b03ff5a18c1c48cda225ce3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.2-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b7fe34b14e4839e0881d3a41596d31b82760f48d70cba6f2cca79bbb48b8c088
MD5 833d5f1362a362c3c206a5062cc16ff8
BLAKE2b-256 b07a13f1bc6cf6f5741a0dfc6aef28bf7c5a0d91442318a0052ccb6bfbcd4689

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 03916c53b22d5dfd07be1c7217a6f488844f617d53d3d1396ab5f20dab258d9f
MD5 bb07a708c6e2f3c1485aab3bac6d9d39
BLAKE2b-256 cb7429ab1381d470a7e787b0c028443bacbcd1b656c4f90cc45e3b7c1e5f9d42

See more details on using hashes here.

File details

Details for the file stringmetrics-2.1.2-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.2-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ebf80be3a1d1203b956c9c44d4ea4b5769a8e3c34f1260d11c274d0cc27a92d6
MD5 abad65aca390cc3761bf925a8e218dcc
BLAKE2b-256 0d4673d5e4c43c56b0ccdd940aa56682421122f38d14207eb8268ae1de4b7d12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.2-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 0076b4b52b08c27dc179fb8714c3feea0f8d57952be59ff26adba3cc7e5760c1
MD5 6c81861e6bb36c25cb3db80fa58f5618
BLAKE2b-256 d6305f4a70f2a9d3a2b95766311ffc928a87cf2b5c71dbf95e2c9b01b15af3db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.2-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 35a641d4f9070bdcf36ac9f8a60f410737ec8b0368d8ee637cecd0a8c9fb6222
MD5 f97e898c0227b301aa1797a39070e473
BLAKE2b-256 6dfdf891d56c0373dc3316af58332dc4c7f0878f22526bca123926ecce4eb2ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stringmetrics-2.1.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b5d0375df0e51505785dd86f18af99102d4fab55d2bb0d873d22b146da057779
MD5 7875d2efcbe5f8b06151729415e84f95
BLAKE2b-256 f13d3ad78b5ff7911b6b69b517ce0bf22566e1cc4399154b51704985abfadf91

See more details on using hashes here.

File details

Details for the file stringmetrics-2.1.2-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.2-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 cd8d4befd302a7637160e3df0f8cc483bde65e462abc46a1fcda681612be3072
MD5 af47f4194f5488fa09476675ac0ed15e
BLAKE2b-256 822371938d682738fa656637b0f9cbbad81f4458083bb8a6e819327ab3d8ad59

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