{ "info": { "author": "Qordoba", "author_email": "sam.havens@qordoba.com", "bugtrack_url": null, "classifiers": [], "description": "# Suggestion Helper Client\n\nA client for interacting with Qordoba's Suggestion Helper Service (which is effectively FitBERT-as-a-service, see [FitBERT](https://github.com/Qordobacode/fitbert)).\n\n## Usage\n\n```python\nfrom suggestionhelper import SuggestionHelperClient as SHC\n\nurl = \"http://8.8.8.8\"\nclient = SHC(url)\n\nsentence = \"I smash my lovely cats.\"\nissue = {\n \"from\": 2,\n \"until\": 7,\n \"suggestions\": [\"wash\", \"miss\"],\n}\n\n# get all suggestions\nsuccess, suggestions, error_info = client.get_suggestions(sentence, issue)\n\nif success:\n print(suggestions)\nelse:\n print(f\"Call to SHS failed with error code {error_info[0]} and message {error_info[1]}\")\n\n# get the top suggestion\nsuccess, top, error_info = client.get_top_suggestion(sentence, issue)\n\nif success:\n print(top)\nelse:\n print(f\"Call to SHS failed with error code {error_info[0]} and message {error_info[1]}\")\n```\n\n## Installation\n\n`pip install suggestionhelper`\n\n## License\n\nUnlicensed. You can't use this, but it should be easy to build your own with [FitBERT](https://github.com/Qordobacode/fitbert).", "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/Qordobacode/client.suggestion.helper", "keywords": "", "license": "unlicensed", "maintainer": "", "maintainer_email": "", "name": "suggestionhelper", "package_url": "https://pypi.org/project/suggestionhelper/", "platform": "", "project_url": "https://pypi.org/project/suggestionhelper/", "project_urls": { "Homepage": "https://github.com/Qordobacode/client.suggestion.helper" }, "release_url": "https://pypi.org/project/suggestionhelper/0.8.0/", "requires_dist": null, "requires_python": ">=3.6.4", "summary": "", "version": "0.8.0" }, "last_serial": 5887513, "releases": { "0.3.0": [ { "comment_text": "", "digests": { "md5": "9ef2075262426d75b08b082a6be794c4", "sha256": "cdde6a5d41873b713dc0154e5c7a3443c1886fee6ca1cf3604f9aadfffcc9ba2" }, "downloads": -1, "filename": "suggestionhelper-0.3.0.tar.gz", "has_sig": false, "md5_digest": "9ef2075262426d75b08b082a6be794c4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.4", "size": 2634, "upload_time": "2019-09-12T19:11:12", "url": "https://files.pythonhosted.org/packages/00/ce/5183ed6dc7aa417504d3354ade535ee0e5a7d189b3b08810408515ff90b8/suggestionhelper-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "2e9297d834174632d088f573cd56faf0", "sha256": "2a79ae3bbe2b59d3574b79a9e0eee3a3f39a912630e54f1417b5bb5ca0a022af" }, "downloads": -1, "filename": "suggestionhelper-0.4.0.tar.gz", "has_sig": false, "md5_digest": "2e9297d834174632d088f573cd56faf0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.4", "size": 3377, "upload_time": "2019-09-12T20:38:10", "url": "https://files.pythonhosted.org/packages/3d/6e/ddbe4cd71173c4a41a1ba50d70b6b46eceb7264de1b1ea6114fbc63e9534/suggestionhelper-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "404e91e64572438b62232c78af3b8b78", "sha256": "287786a43c8fb86916b99dd2812d97613a5511bf0b61a313675bfc76cad74906" }, "downloads": -1, "filename": "suggestionhelper-0.5.0.tar.gz", "has_sig": false, "md5_digest": "404e91e64572438b62232c78af3b8b78", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.4", "size": 3372, "upload_time": "2019-09-12T20:47:30", "url": "https://files.pythonhosted.org/packages/10/0d/c823d393bfbe950ef4559c88826e4c0ddf7730d6aa4cebc5d33974d7c836/suggestionhelper-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "5a0e2f0212b3f4efc46d192bb5d4f3c4", "sha256": "880e6bab278cb15b3b93e1aecd5638f9cff48ddfddc073d94a1f13561ddb4750" }, "downloads": -1, "filename": "suggestionhelper-0.6.0.tar.gz", "has_sig": false, "md5_digest": "5a0e2f0212b3f4efc46d192bb5d4f3c4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.4", "size": 4100, "upload_time": "2019-09-12T23:37:03", "url": "https://files.pythonhosted.org/packages/70/41/66f597acbcd40670e7d7f227c80629f983d2c51d0bfa296dd9fa3b7ad3a7/suggestionhelper-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "f8ce0f1e1490a88438af280f6b5e824c", "sha256": "41688ac60b0736c38f6114667f5f0d238f5ce681336568ff10b1292ea359c2f5" }, "downloads": -1, "filename": "suggestionhelper-0.7.0.tar.gz", "has_sig": false, "md5_digest": "f8ce0f1e1490a88438af280f6b5e824c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.4", "size": 4245, "upload_time": "2019-09-12T23:47:28", "url": "https://files.pythonhosted.org/packages/a6/21/96da40fa8f79fb5532a97553e5118150fc95de88ad360fd804889aa310fa/suggestionhelper-0.7.0.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "dda2a51671fcee9e5de5677782f64dd0", "sha256": "8316d4b9dc68ce6086f65d3959be6d128ad0e2153b483f45b632ca5802e201f5" }, "downloads": -1, "filename": "suggestionhelper-0.8.0.tar.gz", "has_sig": false, "md5_digest": "dda2a51671fcee9e5de5677782f64dd0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.4", "size": 4238, "upload_time": "2019-09-25T22:45:23", "url": "https://files.pythonhosted.org/packages/da/85/ebb21bb7fc92bfd9b7f500300f308b809b2488046ff91b3d602fdb95e827/suggestionhelper-0.8.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dda2a51671fcee9e5de5677782f64dd0", "sha256": "8316d4b9dc68ce6086f65d3959be6d128ad0e2153b483f45b632ca5802e201f5" }, "downloads": -1, "filename": "suggestionhelper-0.8.0.tar.gz", "has_sig": false, "md5_digest": "dda2a51671fcee9e5de5677782f64dd0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.4", "size": 4238, "upload_time": "2019-09-25T22:45:23", "url": "https://files.pythonhosted.org/packages/da/85/ebb21bb7fc92bfd9b7f500300f308b809b2488046ff91b3d602fdb95e827/suggestionhelper-0.8.0.tar.gz" } ] }