{ "info": { "author": "Ryan Ginstrom", "author_email": "software@ginstrom.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable" ], "description": "A C extension that uses a modified version of the Levenshtein distance algorithm\r\nto calculate fuzzy matches for substrings.\r\n\r\nAll strings used by the subdist module must be Unicode strings.\r\n\r\nNew in version 0.2\r\n-------------------\r\n\r\nThe get_score function returns match score [0.0, 1.0] of needle in haystack\r\nbased on substring distance\r\n\r\nExample\r\n------------------\r\n\r\n**fuzzy substring distance for \"bdb\" in \"aaa bbb ccc\"** ::\r\n\r\n import subdist\r\n \r\n needle = u\"bdb\"\r\n haystack = u\"aaa bbb ccc\"\r\n distance = subdist.substring(needle, haystack) # 1", "description_content_type": null, "docs_url": null, "download_url": "http://ginstrom.com/code/subdist-0.2.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.ginstrom.com/code/subdist.html", "keywords": "Levenshtein distance substring fuzzy", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "subdist", "package_url": "https://pypi.org/project/subdist/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/subdist/", "project_urls": { "Download": "http://ginstrom.com/code/subdist-0.2.1.tar.gz", "Homepage": "http://www.ginstrom.com/code/subdist.html" }, "release_url": "https://pypi.org/project/subdist/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Substring edit distance", "version": "0.2.1" }, "last_serial": 101197, "releases": { "0.1.1": [ { "comment_text": "With unit tests", "digests": { "md5": "61bfcdf041cb8bdd3459a6a9eb2f0fd1", "sha256": "967b68d99d21cbbc7acc24ee31d759adbf749cb703649546b43118ed751b131f" }, "downloads": -1, "filename": "subdist-0.1.1.tar.gz", "has_sig": false, "md5_digest": "61bfcdf041cb8bdd3459a6a9eb2f0fd1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2319, "upload_time": "2007-12-02T12:56:06", "url": "https://files.pythonhosted.org/packages/ba/8c/3413bf1410b6f4df61c5ef4e7eb6d04880435c5bbb0eeb853d1755bb5b5c/subdist-0.1.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "53461789add00b47c054ecf508bb395c", "sha256": "3fcde9a128b3ba5e2922fd9a8b5890fad6bf5c6d9833ad96251c443364041554" }, "downloads": -1, "filename": "subdist-0.1.1.win32-py2.4.exe", "has_sig": false, "md5_digest": "53461789add00b47c054ecf508bb395c", "packagetype": "bdist_wininst", "python_version": "2.4", "requires_python": null, "size": 64365, "upload_time": "2007-12-02T12:55:22", "url": "https://files.pythonhosted.org/packages/45/6b/3fb5bcc37ab70e2be36c807db4e1f61ec3f7732e8b6d9e2ea13f72d3d653/subdist-0.1.1.win32-py2.4.exe" }, { "comment_text": "", "digests": { "md5": "6e6e3df37bd2110325d56707cab8cf3c", "sha256": "c6d2bd0871233039ef8440ccc256699ddd4a298030aebbd713cef2f5411365ed" }, "downloads": -1, "filename": "subdist-0.1.1.win32-py2.5.exe", "has_sig": false, "md5_digest": "6e6e3df37bd2110325d56707cab8cf3c", "packagetype": "bdist_wininst", "python_version": "2.5", "requires_python": null, "size": 64802, "upload_time": "2007-12-02T12:55:42", "url": "https://files.pythonhosted.org/packages/83/e6/6a0fbfd08fb8bbfe4c01967da58de622d4d43534c5ac2da1ac60c4aaa5c0/subdist-0.1.1.win32-py2.5.exe" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "c6bf5c724ca3b9b87d3a97d94af3a7cb", "sha256": "7857579723cabe8d7cdfcbb257bfa9a9972f9400bf609d94ee01f28e0ad07154" }, "downloads": -1, "filename": "subdist-0.2.tar.gz", "has_sig": false, "md5_digest": "c6bf5c724ca3b9b87d3a97d94af3a7cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2438, "upload_time": "2007-12-16T06:00:45", "url": "https://files.pythonhosted.org/packages/f2/1a/475412bfdf989b92e3329f95c6d923e57fb3e04a9ed689b756578eb56d8a/subdist-0.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "2cc9b3f998256a73c4994c56e141e29c", "sha256": "0c7057926f7859037d263a5c4810e6b4a25047ef6b6d25de97458c12374d363b" }, "downloads": -1, "filename": "subdist-0.2.win32-py2.4.exe", "has_sig": false, "md5_digest": "2cc9b3f998256a73c4994c56e141e29c", "packagetype": "bdist_wininst", "python_version": "2.4", "requires_python": null, "size": 64620, "upload_time": "2007-12-16T06:02:00", "url": "https://files.pythonhosted.org/packages/76/84/2fb3b1b4de4049878b830d9dce150387f5b2758759252fb7a7dfb5e4ed7e/subdist-0.2.win32-py2.4.exe" }, { "comment_text": "", "digests": { "md5": "ab6fc3c48eef9b77a9c29488e2652594", "sha256": "44d94a1bc88873d15894a1260d07fa0dd833f4e4e9ebd85ba6cf1cee2227361b" }, "downloads": -1, "filename": "subdist-0.2.win32-py2.5.exe", "has_sig": false, "md5_digest": "ab6fc3c48eef9b77a9c29488e2652594", "packagetype": "bdist_wininst", "python_version": "2.5", "requires_python": null, "size": 65050, "upload_time": "2007-12-16T06:01:11", "url": "https://files.pythonhosted.org/packages/65/10/ec3c8afbab9c9462da10bebc056cbaebfcddb7d92586c09c35343baa85a5/subdist-0.2.win32-py2.5.exe" } ], "0.2.1": [ { "comment_text": "Includes unit tests", "digests": { "md5": "897de4575144ef4f07221ecdd90848ec", "sha256": "6ccf17e03764cbff78bb7a50260a07f303cf73e2086af692c77f4de769c6e38f" }, "downloads": -1, "filename": "subdist-0.2.1.tar.gz", "has_sig": false, "md5_digest": "897de4575144ef4f07221ecdd90848ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2426, "upload_time": "2007-12-16T08:35:47", "url": "https://files.pythonhosted.org/packages/ee/d5/ad09dd92a9db673f035e0d851d0206cc4d0dabdd916af4384e1d6bccfbee/subdist-0.2.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "0d6b5be1a71b8b78ae84652ba1f7e786", "sha256": "95b7b45560cd01677fd59098393e0e29f1209ab28a01f51218fab86089e08629" }, "downloads": -1, "filename": "subdist-0.2.1.win32-py2.4.exe", "has_sig": false, "md5_digest": "0d6b5be1a71b8b78ae84652ba1f7e786", "packagetype": "bdist_wininst", "python_version": "2.4", "requires_python": null, "size": 64581, "upload_time": "2007-12-16T08:34:59", "url": "https://files.pythonhosted.org/packages/85/0c/e11683c924d86ab88178ef27a0d6940e6fa793d1e4ad235da6096f54df3e/subdist-0.2.1.win32-py2.4.exe" }, { "comment_text": "", "digests": { "md5": "daa31dfd29b67ac24a4d657852e68a54", "sha256": "3941eacf76320393044d105cd481a2c8a162724f91d0ed1c58d7a20c34edb32f" }, "downloads": -1, "filename": "subdist-0.2.1.win32-py2.5.exe", "has_sig": false, "md5_digest": "daa31dfd29b67ac24a4d657852e68a54", "packagetype": "bdist_wininst", "python_version": "2.5", "requires_python": null, "size": 65109, "upload_time": "2007-12-16T08:35:25", "url": "https://files.pythonhosted.org/packages/77/3c/045238840d0ac5819598b3d808271474c5a75e634f3247133ab998da9f69/subdist-0.2.1.win32-py2.5.exe" } ] }, "urls": [ { "comment_text": "Includes unit tests", "digests": { "md5": "897de4575144ef4f07221ecdd90848ec", "sha256": "6ccf17e03764cbff78bb7a50260a07f303cf73e2086af692c77f4de769c6e38f" }, "downloads": -1, "filename": "subdist-0.2.1.tar.gz", "has_sig": false, "md5_digest": "897de4575144ef4f07221ecdd90848ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2426, "upload_time": "2007-12-16T08:35:47", "url": "https://files.pythonhosted.org/packages/ee/d5/ad09dd92a9db673f035e0d851d0206cc4d0dabdd916af4384e1d6bccfbee/subdist-0.2.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "0d6b5be1a71b8b78ae84652ba1f7e786", "sha256": "95b7b45560cd01677fd59098393e0e29f1209ab28a01f51218fab86089e08629" }, "downloads": -1, "filename": "subdist-0.2.1.win32-py2.4.exe", "has_sig": false, "md5_digest": "0d6b5be1a71b8b78ae84652ba1f7e786", "packagetype": "bdist_wininst", "python_version": "2.4", "requires_python": null, "size": 64581, "upload_time": "2007-12-16T08:34:59", "url": "https://files.pythonhosted.org/packages/85/0c/e11683c924d86ab88178ef27a0d6940e6fa793d1e4ad235da6096f54df3e/subdist-0.2.1.win32-py2.4.exe" }, { "comment_text": "", "digests": { "md5": "daa31dfd29b67ac24a4d657852e68a54", "sha256": "3941eacf76320393044d105cd481a2c8a162724f91d0ed1c58d7a20c34edb32f" }, "downloads": -1, "filename": "subdist-0.2.1.win32-py2.5.exe", "has_sig": false, "md5_digest": "daa31dfd29b67ac24a4d657852e68a54", "packagetype": "bdist_wininst", "python_version": "2.5", "requires_python": null, "size": 65109, "upload_time": "2007-12-16T08:35:25", "url": "https://files.pythonhosted.org/packages/77/3c/045238840d0ac5819598b3d808271474c5a75e634f3247133ab998da9f69/subdist-0.2.1.win32-py2.5.exe" } ] }