{ "info": { "author": "Arthur Halet", "author_email": "arthurh.halet@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Topic :: Communications", "Topic :: Software Development :: Libraries" ], "description": "# dialog-watson-client\n\nClient for dialogs watson module\n\n## Requirements\n\n- **Python 2.7**\n- **Pip**\n\n## Installation\n\nInstall with pip: `pip install dialog-watson-client`\n\n## Run the playground\n\nSimply run in command line: `dialog-watson-client --name=dialog-name path/to/dialog/file [--clean](optional: clean your dialogs in watson)` and you will chat with your robot\n\n**At the first launch it will create a config file located to `~/.config-dialog-watson.yml` and ask you your watson credentials**\n\n## Usage for developers\n\nBootstrap example:\n\n```python\nfrom dialog_watson_client.Client import Client\nwatsonClient = Client('user_watson', 'password_watson', 'file/path/to/dialog', 'your_dialog_name') # this library abstract the registering of dialog (and the update when you cahnge it) and run it, to do that it will store your dialog id in a file called `dialog_id_file.txt`\nwatsonClient.start_dialog() # this will create the dialog into watson or update it and run the initialization of the conversation\n\nresp = watsonClient.converse('hi') # talk to the robot, here it will say 'hi' and watson will answered\nprint resp.response # show the response from watson\nwatsonClient.get_profile().get_data() # get extracted data from watson in format: [key => value]\n```\n\n**Note**: If your file is in xml (and you have `lxml` lib installed) it will also check your format with xsd: https://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/dialog/download/WatsonDialogDocument_1.0.xsd", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/HomeHabbit/dialog-watson-client", "keywords": "natural langage dialog robot watson IBM", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "dialog-watson-client", "package_url": "https://pypi.org/project/dialog-watson-client/", "platform": "ALL", "project_url": "https://pypi.org/project/dialog-watson-client/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/HomeHabbit/dialog-watson-client" }, "release_url": "https://pypi.org/project/dialog-watson-client/1.0.2/", "requires_dist": null, "requires_python": null, "summary": "Client for dialog watson module", "version": "1.0.2" }, "last_serial": 1909589, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "31b3d24da443fe1d20d50f4768d3205e", "sha256": "aab8560fb2e457630276c84c366f37472e7db423fcf8834a7cd1b797fbcbd8f4" }, "downloads": -1, "filename": "dialog_watson_client-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "31b3d24da443fe1d20d50f4768d3205e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10467, "upload_time": "2016-01-18T08:49:31", "url": "https://files.pythonhosted.org/packages/0b/66/3af2c8f53f8317acd356a2042a9bcbad90df94bc3e648706b43007629e6f/dialog_watson_client-1.0.0-py2.py3-none-any.whl" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "90365ddcc5c2be924bab7599d33adfdc", "sha256": "24eed9ee1364952f5aa5b215d1d652590cb77432e59a7cd819c224a72582e715" }, "downloads": -1, "filename": "dialog_watson_client-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "90365ddcc5c2be924bab7599d33adfdc", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10484, "upload_time": "2016-01-18T09:31:49", "url": "https://files.pythonhosted.org/packages/e2/85/fab387e3176b6a8a5ea574e63eaadc207036f2888f65096c23f2615828e3/dialog_watson_client-1.0.1-py2.py3-none-any.whl" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "06ba6a86afc90a8d523564e27eb02f9f", "sha256": "1ef691faeb1ad2ab2163ed53d2312cf503871321538f2a17f27dd4d8a36163a5" }, "downloads": -1, "filename": "dialog_watson_client-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "06ba6a86afc90a8d523564e27eb02f9f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10548, "upload_time": "2016-01-18T09:36:32", "url": "https://files.pythonhosted.org/packages/6a/2f/e507cec233201fb1845dc8d6b5033b1854217397d0f86e7ec59f09118c33/dialog_watson_client-1.0.2-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "06ba6a86afc90a8d523564e27eb02f9f", "sha256": "1ef691faeb1ad2ab2163ed53d2312cf503871321538f2a17f27dd4d8a36163a5" }, "downloads": -1, "filename": "dialog_watson_client-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "06ba6a86afc90a8d523564e27eb02f9f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10548, "upload_time": "2016-01-18T09:36:32", "url": "https://files.pythonhosted.org/packages/6a/2f/e507cec233201fb1845dc8d6b5033b1854217397d0f86e7ec59f09118c33/dialog_watson_client-1.0.2-py2.py3-none-any.whl" } ] }