{ "info": { "author": "SAP CAI team", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "[logo]: https://cdn.cai.tools.sap/brand/sapcai/sap-cai-black.svg \"SAP Conversational AI\"\n\n![alt text][logo]\n\n# SAP Conversational AI - SDK Python\n\nSAP Conversational AI official SDK in Python\n\n## Overview\n\nThis module is a wrapper around the [SAP Conversational AI](https://cai.tools.sap) API, and allows you to:\n* [Analyse your text](https://github.com/SAPConversationalAI/SDK-python/wiki/01-Analyse-Text)\n* [Manage a conversation](https://github.com/SAPConversationalAI/SDK-python/wiki/02-Manage-conversation)\n* [Receive and send messages](https://github.com/SAPConversationalAI/SDK-python/wiki/03-Receive-and-send-messages)\n\n## Installation\n\n #### Using pip\n\nInstall from PyPi using [pip](http://www.pip-installer.org/en/latest/), a\npackage manager for Python.\n\n pip install sapcai\n\nDon't have pip installed? Try installing it, by running this from the command\nline:\n\n $ curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python\n\n #### With the source code\n\nYou can [download the source code\n(ZIP)](https://github.com/SAPConversationalAI/SDK-python/zipball/master \"SAP Conversational AI-python\nsource code\") for `SAPConversationalAI-python`, and then run:\n\n python setup.py install\n\nYou may need to run the above commands with `sudo`.\n\nThis library supports both `python 2.7+` and `python 3.5+`.\n\nYou can now use the SDK in your code. All you need is your bot's token. In case you have enabled our versioning feature in the settings of your bot, you can refer to our [versioning documentation](https://cai.tools.sap/docs/concepts/versioning) to learn how to select the appropriate token for you versions and environments.\n\n## Usage\n\nUsing the entire SDK:\n```python\nimport sapcai\n\nclient = sapcai.Client('YOUR_TOKEN')\n\nclient.request.analyse_text('Hi')\nclient.connect.broadcast_message('Hi')\n```\n\nExtracting one single API:\n```python\nfrom sapcai import Request, Connect\n\nrequest = Request('YOUR_TOKEN')\nrequest.analyse_text('Hi')\n\nconnect = Connect('YOUR_TOKEN')\nconnect.broadcast_message('Hi')\n```\n\n## More\n\nYou can view the whole API reference at [cai.tools.sap/docs/api-reference](https://cai.tools.sap/docs/api-reference).\n\nYou can follow us on Twitter at [@sapcai](https://twitter.com/sapcai) for updates and releases.\n\n\n## License\n\nCopyright (c) [2019] [SAP Conversational AI](https://cai.tools.sap)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/SAPConversationalAI/sdk-python", "keywords": "sapcai bot nlp", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "sapcai", "package_url": "https://pypi.org/project/sapcai/", "platform": "", "project_url": "https://pypi.org/project/sapcai/", "project_urls": { "Homepage": "https://github.com/SAPConversationalAI/sdk-python" }, "release_url": "https://pypi.org/project/sapcai/4.0.0/", "requires_dist": [ "requests (>=2.10)", "pytest (>=2.9)", "pytest-cov (>=2.2)", "responses (>=0.5)" ], "requires_python": "", "summary": "SAP Conversational AI official SDK for python", "version": "4.0.0" }, "last_serial": 4698677, "releases": { "4.0.0": [ { "comment_text": "", "digests": { "md5": "c45361781c534ec69d88a2f7c8b3bc69", "sha256": "bfc7cd04b701e0e891daf860c96f5cd5f2cc2071a61ebbed4a607ff3faf242c3" }, "downloads": -1, "filename": "sapcai-4.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c45361781c534ec69d88a2f7c8b3bc69", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17328, "upload_time": "2019-01-15T12:04:39", "url": "https://files.pythonhosted.org/packages/37/0e/7adbae3e24e92c3f0826fc240b3fd8eb1a68b3e79ebde5d222e9d9fde7fa/sapcai-4.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "94c0760ff9e022d1d3806d75ab3fc625", "sha256": "b8f22d0dcc70a615b463616c018d0d54e86039a0d1e1648d8fbedd7c15d796e5" }, "downloads": -1, "filename": "sapcai-4.0.0.tar.gz", "has_sig": false, "md5_digest": "94c0760ff9e022d1d3806d75ab3fc625", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9981, "upload_time": "2019-01-15T12:04:41", "url": "https://files.pythonhosted.org/packages/9e/23/466099fc9005aa11dada5c012992bdb174d4059453bebd946b06f5af5187/sapcai-4.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c45361781c534ec69d88a2f7c8b3bc69", "sha256": "bfc7cd04b701e0e891daf860c96f5cd5f2cc2071a61ebbed4a607ff3faf242c3" }, "downloads": -1, "filename": "sapcai-4.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c45361781c534ec69d88a2f7c8b3bc69", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17328, "upload_time": "2019-01-15T12:04:39", "url": "https://files.pythonhosted.org/packages/37/0e/7adbae3e24e92c3f0826fc240b3fd8eb1a68b3e79ebde5d222e9d9fde7fa/sapcai-4.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "94c0760ff9e022d1d3806d75ab3fc625", "sha256": "b8f22d0dcc70a615b463616c018d0d54e86039a0d1e1648d8fbedd7c15d796e5" }, "downloads": -1, "filename": "sapcai-4.0.0.tar.gz", "has_sig": false, "md5_digest": "94c0760ff9e022d1d3806d75ab3fc625", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9981, "upload_time": "2019-01-15T12:04:41", "url": "https://files.pythonhosted.org/packages/9e/23/466099fc9005aa11dada5c012992bdb174d4059453bebd946b06f5af5187/sapcai-4.0.0.tar.gz" } ] }