ask-sdk-webservice-support-1.3.3
توضیحات
The ASK SDK Webservice package provides support for running skills, built using the Alexa Skills Kit SDK, as web applications.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ask-sdk-webservice-support-1.3.3 |
| نام | ask-sdk-webservice-support |
| نسخه کتابخانه | 1.3.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Alexa Skills Kit |
| ایمیل نویسنده | ask-sdk-dynamic@amazon.com |
| آدرس صفحه اصلی | https://github.com/alexa/alexa-skills-kit-sdk-for-python |
| آدرس اینترنتی | https://pypi.org/project/ask-sdk-webservice-support/ |
| مجوز | Apache 2.0 |
===================================================================================
ASK SDK Webservice Support - Base components for Python ASK SDK Skill as WebService
===================================================================================
**ask-sdk-webservice-support** is the base SDK package for providing
support to deploy skill as webservice, when built using ASK Python SDK.
It provides the base verification components and the dispatch logic for
skills deployed as a custom webservice rather than on AWS Lambda.
It provides an easy way to register and use
`skills as custom webservices <https://developer.amazon.com/docs/custom-skills/host-a-custom-skill-as-a-web-service.html>`__.
If you plan to use `Flask` for your webservice development, you can
install the `flask-ask-sdk` package. If you are using `Django` for your
webservice development, you can install the `django-ask-sdk` package.
Quick Start
-----------
Installation
~~~~~~~~~~~~~
.. important::
`cryptography` is a dependency for this package. If you have not
already installed
`cryptography <https://cryptography.io/en/latest/>`_, you might need to
install additional prerequisites as detailed in the
`cryptography installation guide <https://cryptography.io/en/latest/installation/>`_
for your operating system.
Assuming that you have Python and ``virtualenv`` installed, you can
install the package from PyPi as follows:
.. code-block:: sh
$ virtualenv venv
$ . venv/bin/activate
$ pip install ask-sdk-webservice-support
This package is not installed along-side `ask-sdk` standard distribution,
and has to be installed separately if you need support for skill
deployment as webservice.
Usage and Getting Started
-------------------------
Getting started guides, SDK Features, API references, samples etc. can
be found in the `technical documentation <https://developer.amazon.com/docs/alexa-skills-kit-sdk-for-python/overview.html>`_
Got Feedback?
-------------
- We would like to hear about your bugs, feature requests, questions or
quick feedback. Please search for the
`existing issues <https://github.com/alexa/alexa-skills-kit-sdk-for-python/issues>`_
before opening a new one. It would also be helpful if you follow the
templates for issue and pull request creation. Please follow the
`contributing guidelines <https://github.com/alexa/alexa-skills-kit-sdk-for-python/blob/master/CONTRIBUTING.md>`_!!
- Request and vote for `Alexa features <https://alexa.uservoice.com/forums/906892-alexa-skills-developer-voice-and-vote>`_!
=========
CHANGELOG
=========
0.1
---
* Initial release of Alexa Skills Kit Webservice Support Package.
0.1.2
-----
This release contains the following changes :
- Fix setting the custom user agent on the skill instance, when initializing the handler.
1.0.0
-------
This release contains the following changes :
- Move the webservice adapters to GA.
1.1.0
~~~~~~~
This release contains the following changes :
- Timestamp verifier checks the total number of seconds between request timestamp and server timestamp.
- Add context management to urlopen method used in request verification.
1.2.0
~~~~~
This release contains the following changes :
- Case-insensitive header value retrieval for request verification. `136 <https://github.com/alexa/alexa-skills-kit-sdk-for-python/issues/136>`__
1.3.0
~~~~~
This release contains the following changes :
- Certificate chain validation in request verification, to check the certificate chain validates to a trusted root CA.
1.3.1
~~~~~
This release contains the following changes :
- Fix the dependencies in the setup file, for cert validation.
1.3.2
~~~~~
This release contains the following changes :
- Fix timestamp verifier maximum tolerance value for skill events and normal skill requests.
1.3.3
~~~~~
This release contains the following changes :
- Updated signature algorithm validation
- Updated cryptography dependency `197 <https://github.com/alexa/alexa-skills-kit-sdk-for-python/issues/197>`__
نیازمندی
| مقدار | نام |
|---|---|
| >=1.0.0 | ask-sdk-model |
| >=1.1.0 | ask-sdk-core |
| >=3.2 | cryptography |
| >=0.11.1 | certvalidator |
| >=0.3.15 | freezegun |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.* | Python |
نحوه نصب
نصب پکیج whl ask-sdk-webservice-support-1.3.3:
pip install ask-sdk-webservice-support-1.3.3.whl
نصب پکیج tar.gz ask-sdk-webservice-support-1.3.3:
pip install ask-sdk-webservice-support-1.3.3.tar.gz