Skip to main content

No project description provided

Project description

Substring Match

A Python library written in Rust that can be used to search a collection of strings for strings containing a pattern.

Installation

pip install substring-match

Usage

from substring_match import SubstringMatcher
m = SubstringMatcher(["banana", "apple tree", "pineapple tree"])
m.find("apple")
# ["apple tree", "pineapple tree"]

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

substring_match-0.1.3.tar.gz (5.4 kB view details)

Uploaded Source

Built Distributions

substring_match-0.1.3-cp37-abi3-win_amd64.whl (132.6 kB view details)

Uploaded CPython 3.7+ Windows x86-64

substring_match-0.1.3-cp37-abi3-win32.whl (129.9 kB view details)

Uploaded CPython 3.7+ Windows x86

substring_match-0.1.3-cp37-abi3-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ x86-64

substring_match-0.1.3-cp37-abi3-musllinux_1_2_i686.whl (1.3 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ i686

substring_match-0.1.3-cp37-abi3-musllinux_1_2_armv7l.whl (1.3 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ ARMv7l

substring_match-0.1.3-cp37-abi3-musllinux_1_2_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ ARM64

substring_match-0.1.3-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

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

substring_match-0.1.3-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.2 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ s390x

substring_match-0.1.3-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.2 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ppc64le

substring_match-0.1.3-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (1.2 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ppc64

substring_match-0.1.3-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.1 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARMv7l

substring_match-0.1.3-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARM64

substring_match-0.1.3-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl (1.1 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.5+ i686

substring_match-0.1.3-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (500.4 kB view details)

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

substring_match-0.1.3-cp37-abi3-macosx_10_7_x86_64.whl (254.5 kB view details)

Uploaded CPython 3.7+ macOS 10.7+ x86-64

File details

Details for the file substring_match-0.1.3.tar.gz.

File metadata

  • Download URL: substring_match-0.1.3.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for substring_match-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0a0aa3d769a10165766527c3350eef992fb91fd3e235acc771e92e8cfa8ea59e
MD5 edea2e2d54414430718bdbdd76131447
BLAKE2b-256 063516bc880cdc498ad5c6e78d804de351843fff0b8dd1117c7ec8e74ea9b2a5

See more details on using hashes here.

File details

Details for the file substring_match-0.1.3-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for substring_match-0.1.3-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 758cb4a7d16a4d64735436342eaba1bf41e4715fb6168c1bde9092cdd91e7893
MD5 f67e474b282546b661df98f124470adb
BLAKE2b-256 7e50b3b2956e157f9497658e7c542966a76f0b55a074d87adc8b8c940e5bf0b6

See more details on using hashes here.

File details

Details for the file substring_match-0.1.3-cp37-abi3-win32.whl.

File metadata

File hashes

Hashes for substring_match-0.1.3-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 a61d99ad115e0123c9da18dd84997db869176dfdb7e82db4eed4262b5d052087
MD5 aade6adbe4c5fa7c1e37196b93b5504b
BLAKE2b-256 76354383bb29e2a009cd71f3ca00e75309e88e21a626d6a8a9554fd10fe0e09e

See more details on using hashes here.

File details

Details for the file substring_match-0.1.3-cp37-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for substring_match-0.1.3-cp37-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 09a6b5d66e8deb1b550b8426042ecd6dc6c33676eff63c4246caaf9730d3768c
MD5 7b2558ab7aa71859d20a9d6619f9a89b
BLAKE2b-256 3b0c24ad0ffc23ad365bf0a4d261b87183fddb62a1cef2362d3ba1cc8810a350

See more details on using hashes here.

File details

Details for the file substring_match-0.1.3-cp37-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for substring_match-0.1.3-cp37-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 0bde6d31c3cf94ff5cadcfbd61d3ae2356ff2d2f2d9a939baf3d603dddafd6ae
MD5 d05fbb9cc59356e09379cb64c596bfa1
BLAKE2b-256 acd6139d65222a2eb335f620bbd458577c3249ff22863b0001696cf997fc8001

See more details on using hashes here.

File details

Details for the file substring_match-0.1.3-cp37-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for substring_match-0.1.3-cp37-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 941cc49066dc5256b1fe9c5e10042df99e1be8e58e9e31db239e3a2692fb78fd
MD5 474462103b7f1c60bbd97ed2b7aa1c41
BLAKE2b-256 c0fc1aac3b719d821b1053926f5f53fc536146edac3aa935a78e96d833ad3ed3

See more details on using hashes here.

File details

Details for the file substring_match-0.1.3-cp37-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for substring_match-0.1.3-cp37-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2e5154c76b3a53633cce2b29a17e178a1be25f81e5d1d21f61385bef335374b5
MD5 25f414a2d2c00a61403d1288b60f28e6
BLAKE2b-256 5a454c4c2939674b1c6449a9c31e66f382eddcc2df20755f8388ce2a73abd4b6

See more details on using hashes here.

File details

Details for the file substring_match-0.1.3-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for substring_match-0.1.3-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 80745d736da38cc6db9141e66fb3dc35360bd7cbeafbd959a068480a6022903e
MD5 833776d8068513410c73a3b91cf8b856
BLAKE2b-256 d782d878b8502cd86d3ccbe518f7f69fcaa3e56be9f63756c8de5ec7b0f009f6

See more details on using hashes here.

File details

Details for the file substring_match-0.1.3-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for substring_match-0.1.3-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 0310152e8b0386f4dc19f49616e6e28e67af4fad838c0b3b937fa83f71a04601
MD5 c9c70a15d2d09609ef3fec8e984d9b96
BLAKE2b-256 729bf9cdc479b1884104691e11f8459aeff0a430882224ad49a7459b6988f31a

See more details on using hashes here.

File details

Details for the file substring_match-0.1.3-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for substring_match-0.1.3-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 81b9cf4257889eb985670f1e640329d1165e2c011cea750fad6f07e437aadcad
MD5 94c171e736a3899b3ad195ecfcf2c3a4
BLAKE2b-256 36c42304cfc267d291bf7c8ea5e66a7a1c130b1620b56e6a0b9fdd3534533404

See more details on using hashes here.

File details

Details for the file substring_match-0.1.3-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl.

File metadata

File hashes

Hashes for substring_match-0.1.3-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 43b25d1f8a0790b88ca386efa9f352bf99c3eef9327cb9c77907a9bed0abb501
MD5 3ff8b94ae9ede5e399028ba359d0f10c
BLAKE2b-256 e230fe06844309393a62f568a0b7ebe7db6f43a7d9a33ce54158d62874a3466b

See more details on using hashes here.

File details

Details for the file substring_match-0.1.3-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for substring_match-0.1.3-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 7ab73780f9095a9eb7de222b81f44b9f742c9a0b383dc78cb0696cae3c80e403
MD5 cdf5bbf6eeeb529c0d21eb04ace1773e
BLAKE2b-256 d1c4cbc3840c1c9db7bbb5d7787d5abdf85c2c85cf75571cb8a8b33647233dcc

See more details on using hashes here.

File details

Details for the file substring_match-0.1.3-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for substring_match-0.1.3-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0718c4757b379328e736f95ffff0a8e01fd0a9b10038a37fd8519d35d55dc9de
MD5 619da9e8dffbcdecb0769e9af14d0cc9
BLAKE2b-256 0b9da1ac7e00aea5eb28017b21f099713ebdc732d0442ff3028dc1941fe26be2

See more details on using hashes here.

File details

Details for the file substring_match-0.1.3-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for substring_match-0.1.3-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 9dad36679423c47570c19de661e9c5a8355fe532402c10a311237c0b84a22807
MD5 d3814a825d054e030923f2d29ae89f06
BLAKE2b-256 13382a54dff3c4b1e26327f0d3730cd35a48e50549c771e0039757f3f21d333b

See more details on using hashes here.

File details

Details for the file substring_match-0.1.3-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for substring_match-0.1.3-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 0c7a9ef56c0648cfa5c65d1bbe97712cbf9867bfa32d624151259f61b2fa79da
MD5 5b6a71425bab02320536a419e4269c08
BLAKE2b-256 11f4f0b175211f1dffcfd70d6951f2ede0f9ffb2ad1adbce6a124bbc51deefd3

See more details on using hashes here.

File details

Details for the file substring_match-0.1.3-cp37-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for substring_match-0.1.3-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 b483d4990f905dc3759ec1e3adf4b0fc311834fedbdf5daa6d5d185285d0cb57
MD5 cd790e9060c216599e47b93926760e3a
BLAKE2b-256 e87afac8b0b5bdfd872cc228ac20ebaaa79f9441cac564ce767da43af9668bbb

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