substring-match


Namesubstring-match JSON
Version 0.1.3 PyPI version JSON
download
home_pagehttps://github.com/Carbon225/substring-match-rs
Summary
upload_time2023-01-01 23:51:27
maintainer
docs_urlNone
authorCarbon225 <carbon225@proton.me>
requires_python
licenseMIT
keywords substring string match search suffixtree suffixarray suffix array tree
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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

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


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Carbon225/substring-match-rs",
    "name": "substring-match",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "substring,string,match,search,suffixtree,suffixarray,suffix,array,tree",
    "author": "Carbon225 <carbon225@proton.me>",
    "author_email": "Carbon225 <carbon225@proton.me>",
    "download_url": "https://files.pythonhosted.org/packages/06/35/16bc880cdc498ad5c6e78d804de351843fff0b8dd1117c7ec8e74ea9b2a5/substring_match-0.1.3.tar.gz",
    "platform": null,
    "description": "# Substring Match\n\nA Python library written in Rust that can be used to search a collection of strings for strings containing a pattern.\n\n## Installation\n\n```\npip install substring-match\n```\n\n## Usage\n\n```python\nfrom substring_match import SubstringMatcher\nm = SubstringMatcher([\"banana\", \"apple tree\", \"pineapple tree\"])\nm.find(\"apple\")\n# [\"apple tree\", \"pineapple tree\"]\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "",
    "version": "0.1.3",
    "split_keywords": [
        "substring",
        "string",
        "match",
        "search",
        "suffixtree",
        "suffixarray",
        "suffix",
        "array",
        "tree"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "cd790e9060c216599e47b93926760e3a",
                "sha256": "b483d4990f905dc3759ec1e3adf4b0fc311834fedbdf5daa6d5d185285d0cb57"
            },
            "downloads": -1,
            "filename": "substring_match-0.1.3-cp37-abi3-macosx_10_7_x86_64.whl",
            "has_sig": false,
            "md5_digest": "cd790e9060c216599e47b93926760e3a",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 254508,
            "upload_time": "2023-01-01T23:51:06",
            "upload_time_iso_8601": "2023-01-01T23:51:06.764455Z",
            "url": "https://files.pythonhosted.org/packages/e8/7a/fac8b0b5bdfd872cc228ac20ebaaa79f9441cac564ce767da43af9668bbb/substring_match-0.1.3-cp37-abi3-macosx_10_7_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "5b6a71425bab02320536a419e4269c08",
                "sha256": "0c7a9ef56c0648cfa5c65d1bbe97712cbf9867bfa32d624151259f61b2fa79da"
            },
            "downloads": -1,
            "filename": "substring_match-0.1.3-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "5b6a71425bab02320536a419e4269c08",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 500409,
            "upload_time": "2023-01-01T23:51:08",
            "upload_time_iso_8601": "2023-01-01T23:51:08.381560Z",
            "url": "https://files.pythonhosted.org/packages/11/f4/f0b175211f1dffcfd70d6951f2ede0f9ffb2ad1adbce6a124bbc51deefd3/substring_match-0.1.3-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "619da9e8dffbcdecb0769e9af14d0cc9",
                "sha256": "0718c4757b379328e736f95ffff0a8e01fd0a9b10038a37fd8519d35d55dc9de"
            },
            "downloads": -1,
            "filename": "substring_match-0.1.3-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "619da9e8dffbcdecb0769e9af14d0cc9",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 1055925,
            "upload_time": "2023-01-01T23:51:09",
            "upload_time_iso_8601": "2023-01-01T23:51:09.734194Z",
            "url": "https://files.pythonhosted.org/packages/0b/9d/a1ac7e00aea5eb28017b21f099713ebdc732d0442ff3028dc1941fe26be2/substring_match-0.1.3-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "cdf5bbf6eeeb529c0d21eb04ace1773e",
                "sha256": "7ab73780f9095a9eb7de222b81f44b9f742c9a0b383dc78cb0696cae3c80e403"
            },
            "downloads": -1,
            "filename": "substring_match-0.1.3-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl",
            "has_sig": false,
            "md5_digest": "cdf5bbf6eeeb529c0d21eb04ace1773e",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 1065158,
            "upload_time": "2023-01-01T23:51:11",
            "upload_time_iso_8601": "2023-01-01T23:51:11.070886Z",
            "url": "https://files.pythonhosted.org/packages/d1/c4/cbc3840c1c9db7bbb5d7787d5abdf85c2c85cf75571cb8a8b33647233dcc/substring_match-0.1.3-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "94c171e736a3899b3ad195ecfcf2c3a4",
                "sha256": "81b9cf4257889eb985670f1e640329d1165e2c011cea750fad6f07e437aadcad"
            },
            "downloads": -1,
            "filename": "substring_match-0.1.3-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "94c171e736a3899b3ad195ecfcf2c3a4",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 1181844,
            "upload_time": "2023-01-01T23:51:13",
            "upload_time_iso_8601": "2023-01-01T23:51:13.788729Z",
            "url": "https://files.pythonhosted.org/packages/36/c4/2304cfc267d291bf7c8ea5e66a7a1c130b1620b56e6a0b9fdd3534533404/substring_match-0.1.3-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "3ff8b94ae9ede5e399028ba359d0f10c",
                "sha256": "43b25d1f8a0790b88ca386efa9f352bf99c3eef9327cb9c77907a9bed0abb501"
            },
            "downloads": -1,
            "filename": "substring_match-0.1.3-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl",
            "has_sig": false,
            "md5_digest": "3ff8b94ae9ede5e399028ba359d0f10c",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 1200649,
            "upload_time": "2023-01-01T23:51:12",
            "upload_time_iso_8601": "2023-01-01T23:51:12.433994Z",
            "url": "https://files.pythonhosted.org/packages/e2/30/fe06844309393a62f568a0b7ebe7db6f43a7d9a33ce54158d62874a3466b/substring_match-0.1.3-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "c9c70a15d2d09609ef3fec8e984d9b96",
                "sha256": "0310152e8b0386f4dc19f49616e6e28e67af4fad838c0b3b937fa83f71a04601"
            },
            "downloads": -1,
            "filename": "substring_match-0.1.3-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "c9c70a15d2d09609ef3fec8e984d9b96",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 1218997,
            "upload_time": "2023-01-01T23:51:15",
            "upload_time_iso_8601": "2023-01-01T23:51:15.135902Z",
            "url": "https://files.pythonhosted.org/packages/72/9b/f9cdc479b1884104691e11f8459aeff0a430882224ad49a7459b6988f31a/substring_match-0.1.3-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "833776d8068513410c73a3b91cf8b856",
                "sha256": "80745d736da38cc6db9141e66fb3dc35360bd7cbeafbd959a068480a6022903e"
            },
            "downloads": -1,
            "filename": "substring_match-0.1.3-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "833776d8068513410c73a3b91cf8b856",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 1066356,
            "upload_time": "2023-01-01T23:51:16",
            "upload_time_iso_8601": "2023-01-01T23:51:16.316515Z",
            "url": "https://files.pythonhosted.org/packages/d7/82/d878b8502cd86d3ccbe518f7f69fcaa3e56be9f63756c8de5ec7b0f009f6/substring_match-0.1.3-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "d3814a825d054e030923f2d29ae89f06",
                "sha256": "9dad36679423c47570c19de661e9c5a8355fe532402c10a311237c0b84a22807"
            },
            "downloads": -1,
            "filename": "substring_match-0.1.3-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl",
            "has_sig": false,
            "md5_digest": "d3814a825d054e030923f2d29ae89f06",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 1083668,
            "upload_time": "2023-01-01T23:51:17",
            "upload_time_iso_8601": "2023-01-01T23:51:17.666997Z",
            "url": "https://files.pythonhosted.org/packages/13/38/2a54dff3c4b1e26327f0d3730cd35a48e50549c771e0039757f3f21d333b/substring_match-0.1.3-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "25f414a2d2c00a61403d1288b60f28e6",
                "sha256": "2e5154c76b3a53633cce2b29a17e178a1be25f81e5d1d21f61385bef335374b5"
            },
            "downloads": -1,
            "filename": "substring_match-0.1.3-cp37-abi3-musllinux_1_2_aarch64.whl",
            "has_sig": false,
            "md5_digest": "25f414a2d2c00a61403d1288b60f28e6",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 1228604,
            "upload_time": "2023-01-01T23:51:19",
            "upload_time_iso_8601": "2023-01-01T23:51:19.340239Z",
            "url": "https://files.pythonhosted.org/packages/5a/45/4c4c2939674b1c6449a9c31e66f382eddcc2df20755f8388ce2a73abd4b6/substring_match-0.1.3-cp37-abi3-musllinux_1_2_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "474462103b7f1c60bbd97ed2b7aa1c41",
                "sha256": "941cc49066dc5256b1fe9c5e10042df99e1be8e58e9e31db239e3a2692fb78fd"
            },
            "downloads": -1,
            "filename": "substring_match-0.1.3-cp37-abi3-musllinux_1_2_armv7l.whl",
            "has_sig": false,
            "md5_digest": "474462103b7f1c60bbd97ed2b7aa1c41",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 1320993,
            "upload_time": "2023-01-01T23:51:20",
            "upload_time_iso_8601": "2023-01-01T23:51:20.865788Z",
            "url": "https://files.pythonhosted.org/packages/c0/fc/1aac3b719d821b1053926f5f53fc536146edac3aa935a78e96d833ad3ed3/substring_match-0.1.3-cp37-abi3-musllinux_1_2_armv7l.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "d05fbb9cc59356e09379cb64c596bfa1",
                "sha256": "0bde6d31c3cf94ff5cadcfbd61d3ae2356ff2d2f2d9a939baf3d603dddafd6ae"
            },
            "downloads": -1,
            "filename": "substring_match-0.1.3-cp37-abi3-musllinux_1_2_i686.whl",
            "has_sig": false,
            "md5_digest": "d05fbb9cc59356e09379cb64c596bfa1",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 1254178,
            "upload_time": "2023-01-01T23:51:22",
            "upload_time_iso_8601": "2023-01-01T23:51:22.107466Z",
            "url": "https://files.pythonhosted.org/packages/ac/d6/139d65222a2eb335f620bbd458577c3249ff22863b0001696cf997fc8001/substring_match-0.1.3-cp37-abi3-musllinux_1_2_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "7b2558ab7aa71859d20a9d6619f9a89b",
                "sha256": "09a6b5d66e8deb1b550b8426042ecd6dc6c33676eff63c4246caaf9730d3768c"
            },
            "downloads": -1,
            "filename": "substring_match-0.1.3-cp37-abi3-musllinux_1_2_x86_64.whl",
            "has_sig": false,
            "md5_digest": "7b2558ab7aa71859d20a9d6619f9a89b",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 1232241,
            "upload_time": "2023-01-01T23:51:23",
            "upload_time_iso_8601": "2023-01-01T23:51:23.485813Z",
            "url": "https://files.pythonhosted.org/packages/3b/0c/24ad0ffc23ad365bf0a4d261b87183fddb62a1cef2362d3ba1cc8810a350/substring_match-0.1.3-cp37-abi3-musllinux_1_2_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "aade6adbe4c5fa7c1e37196b93b5504b",
                "sha256": "a61d99ad115e0123c9da18dd84997db869176dfdb7e82db4eed4262b5d052087"
            },
            "downloads": -1,
            "filename": "substring_match-0.1.3-cp37-abi3-win32.whl",
            "has_sig": false,
            "md5_digest": "aade6adbe4c5fa7c1e37196b93b5504b",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 129912,
            "upload_time": "2023-01-01T23:51:24",
            "upload_time_iso_8601": "2023-01-01T23:51:24.967231Z",
            "url": "https://files.pythonhosted.org/packages/76/35/4383bb29e2a009cd71f3ca00e75309e88e21a626d6a8a9554fd10fe0e09e/substring_match-0.1.3-cp37-abi3-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "f67e474b282546b661df98f124470adb",
                "sha256": "758cb4a7d16a4d64735436342eaba1bf41e4715fb6168c1bde9092cdd91e7893"
            },
            "downloads": -1,
            "filename": "substring_match-0.1.3-cp37-abi3-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "f67e474b282546b661df98f124470adb",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 132562,
            "upload_time": "2023-01-01T23:51:26",
            "upload_time_iso_8601": "2023-01-01T23:51:26.359919Z",
            "url": "https://files.pythonhosted.org/packages/7e/50/b3b2956e157f9497658e7c542966a76f0b55a074d87adc8b8c940e5bf0b6/substring_match-0.1.3-cp37-abi3-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "edea2e2d54414430718bdbdd76131447",
                "sha256": "0a0aa3d769a10165766527c3350eef992fb91fd3e235acc771e92e8cfa8ea59e"
            },
            "downloads": -1,
            "filename": "substring_match-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "edea2e2d54414430718bdbdd76131447",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5416,
            "upload_time": "2023-01-01T23:51:27",
            "upload_time_iso_8601": "2023-01-01T23:51:27.339570Z",
            "url": "https://files.pythonhosted.org/packages/06/35/16bc880cdc498ad5c6e78d804de351843fff0b8dd1117c7ec8e74ea9b2a5/substring_match-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-01 23:51:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "Carbon225",
    "github_project": "substring-match-rs",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "substring-match"
}
        
Elapsed time: 0.09236s