{ "info": { "author": "David Martinez Martin", "author_email": "davidmtn@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "# AwsLexAlexa [![Generic badge](https://img.shields.io/badge/Python-3.4,%203.5,%203.6-green.svg)](https://shields.io/)\n\nThis library may wrap the internal logistic between Amazon Lex or Alexa (Amazon echo) using AWS Lambda as background serverless.\n\nYou can see the implementation in `lambda_function.py`.\n\n**Install**\n```bash\npip install AwsLexAlexa -t .\n```\n\n**Usage:**\n```python\nfrom awsLexAlexa.event_handler import EventHandler, LEX, ALEXA\n\nev = EventHandler()\n\n# Get logger with UserId included in log message: \nlogger = ev.get_configured_logger(\"mi_app_name\")\n\n@ev.handler_intent(intent='intent-name')\ndef foo(event):\n # TODO: Implement logic required\n return event.delegate_response()\n\n@ev.default_intent()\ndef default(event):\n # TODO: Implement logic required\n # Other intents which function have not be specified\n return event.delegate_response()\n\n...\n...\n\ndef lambda_handler(event, context):\n logger.debug('Request:\\n {}'.format(event))\n action = ev.execute(event)\n logger.debug('Response:\\n {}'.format(action))\n return action\n```", "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/dmmop/awsLexAlexa", "keywords": "", "license": "GNU General Public License v3", "maintainer": "", "maintainer_email": "", "name": "awsLexAlexa", "package_url": "https://pypi.org/project/awsLexAlexa/", "platform": "", "project_url": "https://pypi.org/project/awsLexAlexa/", "project_urls": { "Homepage": "https://github.com/dmmop/awsLexAlexa" }, "release_url": "https://pypi.org/project/awsLexAlexa/0.7/", "requires_dist": null, "requires_python": "", "summary": "", "version": "0.7" }, "last_serial": 4283638, "releases": { "0.6": [ { "comment_text": "", "digests": { "md5": "435ecac97d2091b45c7132816824fd24", "sha256": "11b1c1381efb94033984d0b3ad2658e9344b9e978e8a9dc1c4f79a713a5111ee" }, "downloads": -1, "filename": "awsLexAlexa-0.6.tar.gz", "has_sig": false, "md5_digest": "435ecac97d2091b45c7132816824fd24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9616, "upload_time": "2018-08-27T07:55:40", "url": "https://files.pythonhosted.org/packages/27/fa/ba92a090d090de2a01841af7631622b6081410beab3530c7d0addc884888/awsLexAlexa-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "c4fc2aa17ccb7c28d9780fd972ba2a57", "sha256": "406c0b02253d8cd283fa0ef596e39688168b305ae847bce8615583d2f0e9fd1f" }, "downloads": -1, "filename": "awsLexAlexa-0.7.tar.gz", "has_sig": false, "md5_digest": "c4fc2aa17ccb7c28d9780fd972ba2a57", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7182, "upload_time": "2018-09-18T13:56:24", "url": "https://files.pythonhosted.org/packages/a2/eb/93868c3b1cc25ef27fb6478b9f36d53e35b80fa8c5d8fb842743da862f9c/awsLexAlexa-0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c4fc2aa17ccb7c28d9780fd972ba2a57", "sha256": "406c0b02253d8cd283fa0ef596e39688168b305ae847bce8615583d2f0e9fd1f" }, "downloads": -1, "filename": "awsLexAlexa-0.7.tar.gz", "has_sig": false, "md5_digest": "c4fc2aa17ccb7c28d9780fd972ba2a57", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7182, "upload_time": "2018-09-18T13:56:24", "url": "https://files.pythonhosted.org/packages/a2/eb/93868c3b1cc25ef27fb6478b9f36d53e35b80fa8c5d8fb842743da862f9c/awsLexAlexa-0.7.tar.gz" } ] }