{ "info": { "author": "Abdul Niyas P M", "author_email": "abdulniyaspm@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.6" ], "description": "# PyyMatcher\n\n[![License](https://img.shields.io/pypi/l/pyymatcher.svg)](https://pypi.org/project/pyymatcher/)\n[![Version](https://img.shields.io/pypi/v/pyymatcher.svg)](https://pypi.org/project/pyymatcher/)\n[![Python versions](https://img.shields.io/pypi/pyversions/pyymatcher.svg)](https://pypi.org/project/pyymatcher/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n\n> Implementation of pattern matching in Python(using gestalt approach).\n> This library implements the underlaying algorithm(longest_common_substring) with C++.\n\n## Installation\n\n```python\npip install pyymatcher\n```\n\n## Usage example\n\n```python\n>> from pyymatcher import PyyMatcher, get_close_matches\n\n>>> obj = PyyMatcher('Word1', 'word1')\n>>> obj.ratio()\n0.8\n>>> obj.ratio(case_insensitive=True)\n1.0\n>>> obj.longest_common_substr\n'ord1'\n\n>>> word = 'thiis'\n>>> get_close_matches(word=word, \n possibilities=['tthis', 'thhis', 'this', 'thiss', 'THIS'], \n n=1)\n['this']\n>>> get_close_matches(word=word, \n possibilities=['tthis', 'thhis', 'this', 'thiss', 'THIS'], \n n=2, \n case_insensitive=True)\n['this', 'THIS']\n```\n\n## Release History\n\n* 0.0.1\n * initial release\n\n## Support\n\nPython 3.6+\n\n## Meta\n\nAbdul Niyas P M \u2013 [@AbdulNiyas19](https://twitter.com/AbdulNiyas19) \u2013 abdulniyaspm@gmail.com\n\nDistributed under the MIT license. See ``LICENSE`` for more information.\n\n[Github Profile](https://github.com/abdulniyaspm)\n\n## Contributing\n\n1. Fork it (https://github.com/abdulniyaspm/pyymatcher/fork)\n2. Create your feature branch (`git checkout -b feature/fooBar`)\n3. Commit your changes (`git commit -am 'Add some fooBar'`)\n4. Push to the branch (`git push origin feature/fooBar`)\n5. Create a new Pull Request", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/abdulniyaspm/pyymatcher", "keywords": "pattern-matching,pyymatcher", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyymatcher", "package_url": "https://pypi.org/project/pyymatcher/", "platform": "", "project_url": "https://pypi.org/project/pyymatcher/", "project_urls": { "Homepage": "https://github.com/abdulniyaspm/pyymatcher" }, "release_url": "https://pypi.org/project/pyymatcher/0.0.5/", "requires_dist": null, "requires_python": ">=3.6", "summary": "Implementation of pattern matching in Python(using gestalt approach)", "version": "0.0.5" }, "last_serial": 5283117, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "e1835ef9dcede8265f7bddedbb84ff3e", "sha256": "13d7571253fdac492aec5b14c4fa3afb80a1f957de25323e3448b3b88201cd43" }, "downloads": -1, "filename": "pyymatcher-0.0.1.tar.gz", "has_sig": false, "md5_digest": "e1835ef9dcede8265f7bddedbb84ff3e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4505, "upload_time": "2019-05-16T15:51:08", "url": "https://files.pythonhosted.org/packages/7b/24/3eba6cb9e7654023f7f79f4f369a81f115468c92f2a5e8f12fbb30632c2e/pyymatcher-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "339f6cd15da4a66fd8aa8c043f502265", "sha256": "e25a9a98dddc589c85bd2d52481ace5dbe745e7230069a59018c9524b0d5a6f5" }, "downloads": -1, "filename": "pyymatcher-0.0.2.tar.gz", "has_sig": false, "md5_digest": "339f6cd15da4a66fd8aa8c043f502265", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4610, "upload_time": "2019-05-16T16:05:41", "url": "https://files.pythonhosted.org/packages/dc/47/1c1493ef627db005717b79ff37d4bba2b640b1c2acf6361f60876da7212a/pyymatcher-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "58f7a3ef4bbe26e31d47668d921f67eb", "sha256": "16584674d6bc58fea3ef5213eab87d9b67ecaf4391e0d262bcc40bedbd7dc304" }, "downloads": -1, "filename": "pyymatcher-0.0.3.tar.gz", "has_sig": false, "md5_digest": "58f7a3ef4bbe26e31d47668d921f67eb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4580, "upload_time": "2019-05-16T16:14:22", "url": "https://files.pythonhosted.org/packages/41/df/73b72d0c1001516129b199b3218495f108f708e5a17b16ac1580529b0bf3/pyymatcher-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "d82c1236b73ddf65c612af521292f408", "sha256": "72c78f51778b1418878d9e7f2d7a17e0d4ba24ea5fe37ea6c50629c9c8e2a366" }, "downloads": -1, "filename": "pyymatcher-0.0.4.tar.gz", "has_sig": false, "md5_digest": "d82c1236b73ddf65c612af521292f408", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4585, "upload_time": "2019-05-16T17:05:51", "url": "https://files.pythonhosted.org/packages/0b/42/dcb21fc816bad8f0a1b61ec0957b83fd35eade20f6250a2c4b960c75ed6a/pyymatcher-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "bdfad0da8afe143b404b5d65f61c4f3b", "sha256": "a7216e9991f25ef7cc682ee6e352de78c010426a169f4240688714efd3dcee63" }, "downloads": -1, "filename": "pyymatcher-0.0.5.tar.gz", "has_sig": false, "md5_digest": "bdfad0da8afe143b404b5d65f61c4f3b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4681, "upload_time": "2019-05-17T16:39:30", "url": "https://files.pythonhosted.org/packages/03/10/8f7b2ff9b721096d4fe82e2d3cdb3ef136df1384f51edd79cd03f74d21f3/pyymatcher-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bdfad0da8afe143b404b5d65f61c4f3b", "sha256": "a7216e9991f25ef7cc682ee6e352de78c010426a169f4240688714efd3dcee63" }, "downloads": -1, "filename": "pyymatcher-0.0.5.tar.gz", "has_sig": false, "md5_digest": "bdfad0da8afe143b404b5d65f61c4f3b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4681, "upload_time": "2019-05-17T16:39:30", "url": "https://files.pythonhosted.org/packages/03/10/8f7b2ff9b721096d4fe82e2d3cdb3ef136df1384f51edd79cd03f74d21f3/pyymatcher-0.0.5.tar.gz" } ] }