{ "info": { "author": "Alexa Skills Kit", "author_email": "ask-sdk-dynamic@amazon.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "======================================================\nDjango ASK SDK - Extending ASK SDK to work with Django\n======================================================\n\n**django-ask-sdk** is the extension package, that will let skill developers\nuse `ASK SDK `__\npackage in their Django application. It provides an easy way to register and\nuse `skills as custom webservices `__.\n\nQuick Start\n-----------\n\nIf you already have a skill built using the ASK SDK skill builders, then you\nonly need to do the following, to set this up in your django app (example_app):\n\nexample_app/my_skill.py\n~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code-block:: python\n\n from ask_sdk_core.skill_builder import SkillBuilder\n from ask_sdk_core.handler_input import HandlerInput\n from ask_sdk_core.dispatch_components import AbstractRequestHandler\n from ask_sdk_core.utils import is_request_type\n from ask_sdk_model import Response\n\n sb = SkillBuilder()\n\n class LaunchRequestHandler(AbstractRequestHandler):\n \"\"\"Handler for skill launch.\"\"\"\n def can_handle(self, handler_input):\n # type: (HandlerInput) -> bool\n return is_request_type(\"LaunchRequest\")(handler_input)\n\n def handle(self, handler_input):\n # type: (HandlerInput) -> Response\n speech = \"Hello\"\n handler_input.response_builder.speak(speech)\n return handler_input.response_builder.response\n\n # Other skill components here ....\n\n # Register all handlers, interceptors etc.\n # For eg : sb.add_request_handler(LaunchRequestHandler())\n\n skill = sb.create()\n\nexample_app/urls.py\n~~~~~~~~~~~~~~~~~~~~\n\n.. code-block:: python\n\n from .my_skill import skill\n from django_ask_sdk.skill_adapter import SkillAdapter\n\n my_skill_view = SkillAdapter.as_view(\n skill=skill)\n\n urlpatterns = [\n path('/', my_skill_view, name='index'),\n ]\n\nAre you planning to deploy your skill on AWS Lambda? Then, you don't even\nneed this package. The `ASK SDK` provides a `lambda_handler` that can be\ndirectly used in your lambda console.\n\nMore code examples can be found `here `__.\n\nFeatures\n--------\n\n- Works as an extension on skills built using ASK SDK. No need to learn\n something new.\n- Provides default request signature and request timestamp verification.\n These can be configured on app level by setting / unsetting default\n parameters on the view.\n- Provides a way to register multiple skills on your app, at different\n endpoints.\n\nInstallation\n------------\n\n.. note::\n\n This package is compatible only with ``Python >= 3.6``, since it\n required ``Django >= 2.0`` which is only ``Python3`` compatible.\n\n.. important::\n\n `cryptography` is a dependency for this package. If you have not\n already installed\n `cryptography `_, you might need to\n install additional prerequisites as detailed in the\n `cryptography installation guide `_\n for your operating system.\n\nAssuming that you have Python and ``virtualenv`` installed, you can\ninstall the package and it's dependencies (``ask-sdk-webservice-support``)\nfrom PyPi as follows:\n\n.. code-block:: sh\n\n $ virtualenv venv\n $ . venv/bin/activate\n $ pip install django-ask-sdk\n\n\nThis package is **not** installed along-side `ask-sdk` standard distribution,\nand has to be installed separately if you need support for skill\ndeployment as webservice, using Django.\n\n\nSDK Usage and Getting Started\n-----------------------------\n\nGetting started guides, SDK Features, API references, samples etc. can\nbe found in the `technical documentation `_\n\n\nGot Feedback?\n-------------\n\n- We would like to hear about your bugs, feature requests, questions or\n quick feedback. Please search for the\n `existing issues `_\n before opening a new one. It would also be helpful if you follow the\n templates for issue and pull request creation. Please follow the\n `contributing guidelines `_!!\n- Request and vote for `Alexa features `_!\n\n\n=========\nCHANGELOG\n=========\n\n0.1\n---\n\n* Initial release of Django ASK SDK extension package.\n\n\n0.1.1\n-----\n\nThis release contains the following changes :\n\n- Fix setting the custom user agent on the skill instance, when initializing the handler.\n\n\n\n1.0.0\n-------\n\nThis release contains the following changes :\n\n- Move the webservice adapters to GA.\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/alexa/alexa-skills-kit-sdk-for-python", "keywords": "ASK SDK,Alexa Skills Kit,Alexa,Django,Django Extension", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "django-ask-sdk", "package_url": "https://pypi.org/project/django-ask-sdk/", "platform": "", "project_url": "https://pypi.org/project/django-ask-sdk/", "project_urls": { "Homepage": "https://github.com/alexa/alexa-skills-kit-sdk-for-python" }, "release_url": "https://pypi.org/project/django-ask-sdk/1.0.0/", "requires_dist": [ "ask-sdk-webservice-support (>=0.1.0)", "django (>=2.0)" ], "requires_python": "!=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*", "summary": "The Django ASK SDK package provides support for using ASK SDK and Django, to deploy custom skills as webservice", "version": "1.0.0" }, "last_serial": 5717819, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e4d7e17ce5bb6479225c28a7eccf7335", "sha256": "3f6fb126498cf3e3fc9479ab1ff2b897b59aa3b8c22e5903ca5482941e491f96" }, "downloads": -1, "filename": "django_ask_sdk-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e4d7e17ce5bb6479225c28a7eccf7335", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "!=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*", "size": 7738, "upload_time": "2019-04-18T19:22:41", "url": "https://files.pythonhosted.org/packages/44/2f/c94e75d26a897d00a47b4ea19a7ce098fc487e89775d220209060923cd6e/django_ask_sdk-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "73b096c1b9c2c0c09d526da2bdad2639", "sha256": "373790506292918f1aaab0e395301d4586b208c65b8f9b354899c5a63fdc5d10" }, "downloads": -1, "filename": "django-ask-sdk-0.1.0.tar.gz", "has_sig": false, "md5_digest": "73b096c1b9c2c0c09d526da2bdad2639", "packagetype": "sdist", "python_version": "source", "requires_python": "!=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*", "size": 6882, "upload_time": "2019-04-18T19:22:43", "url": "https://files.pythonhosted.org/packages/4f/94/c1000c8f3722731aef7d716e42976def816efba3dc6c4807f9d7c91e7ef3/django-ask-sdk-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f5754a7c866744d20eafee8715b8acaa", "sha256": "239b0310473da70bdbb9d0ada0dd762a24ab6b7251fb7f2391d6c4891a8ac844" }, "downloads": -1, "filename": "django_ask_sdk-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f5754a7c866744d20eafee8715b8acaa", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "!=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*", "size": 7785, "upload_time": "2019-04-30T22:43:01", "url": "https://files.pythonhosted.org/packages/b8/b4/c507830b6ca4897c6776f7f2f995e7810ea2dc55f620b8afdaaf608e5a34/django_ask_sdk-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "70ffd5206891d6ade7b4000c3fc65820", "sha256": "6161915439a30233b647685fff16424b1d438074a4da2ac7c10c5039236cef40" }, "downloads": -1, "filename": "django-ask-sdk-0.1.1.tar.gz", "has_sig": false, "md5_digest": "70ffd5206891d6ade7b4000c3fc65820", "packagetype": "sdist", "python_version": "source", "requires_python": "!=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*", "size": 7110, "upload_time": "2019-04-30T22:43:03", "url": "https://files.pythonhosted.org/packages/d4/b9/ace660759cc05fe47299bb6fe475b840081e5dbc381368d2515c6b92a5c1/django-ask-sdk-0.1.1.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "6a3b9a72342b40dfcd937ef982b71562", "sha256": "7afefea4726929b0e88436f0d9e8d3635e72e5fe732a42a699f0ec66fd351d21" }, "downloads": -1, "filename": "django_ask_sdk-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "6a3b9a72342b40dfcd937ef982b71562", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "!=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*", "size": 7707, "upload_time": "2019-08-22T23:19:26", "url": "https://files.pythonhosted.org/packages/11/da/a940aaf99bbd111286475020a8a182eb45675bf09516625778cf2a24ce59/django_ask_sdk-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2e8b72a287bbe1020f688843e83e6b77", "sha256": "c8baad9777b62fc3d8712c08951524c9901ba56d552cbe8c9218dd71d523d59f" }, "downloads": -1, "filename": "django-ask-sdk-1.0.0.tar.gz", "has_sig": false, "md5_digest": "2e8b72a287bbe1020f688843e83e6b77", "packagetype": "sdist", "python_version": "source", "requires_python": "!=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*", "size": 7024, "upload_time": "2019-08-22T23:19:28", "url": "https://files.pythonhosted.org/packages/66/e4/3fd1e7b02d575028561427c19ab1305f63ab1abb02a2e35b356ff374eb91/django-ask-sdk-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6a3b9a72342b40dfcd937ef982b71562", "sha256": "7afefea4726929b0e88436f0d9e8d3635e72e5fe732a42a699f0ec66fd351d21" }, "downloads": -1, "filename": "django_ask_sdk-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "6a3b9a72342b40dfcd937ef982b71562", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "!=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*", "size": 7707, "upload_time": "2019-08-22T23:19:26", "url": "https://files.pythonhosted.org/packages/11/da/a940aaf99bbd111286475020a8a182eb45675bf09516625778cf2a24ce59/django_ask_sdk-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2e8b72a287bbe1020f688843e83e6b77", "sha256": "c8baad9777b62fc3d8712c08951524c9901ba56d552cbe8c9218dd71d523d59f" }, "downloads": -1, "filename": "django-ask-sdk-1.0.0.tar.gz", "has_sig": false, "md5_digest": "2e8b72a287bbe1020f688843e83e6b77", "packagetype": "sdist", "python_version": "source", "requires_python": "!=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*", "size": 7024, "upload_time": "2019-08-22T23:19:28", "url": "https://files.pythonhosted.org/packages/66/e4/3fd1e7b02d575028561427c19ab1305f63ab1abb02a2e35b356ff374eb91/django-ask-sdk-1.0.0.tar.gz" } ] }