Metadata-Version: 2.1
Name: ask-sdk-webservice-support
Version: 1.3.2
Summary: The ASK SDK Webservice package provides support for running skills, built using the Alexa Skills Kit SDK, as web applications.
Home-page: https://github.com/alexa/alexa-skills-kit-sdk-for-python
Author: Alexa Skills Kit
Author-email: ask-sdk-dynamic@amazon.com
License: Apache 2.0
Keywords: ASK SDK,Alexa Skills Kit,Alexa,WebApp
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*
Requires-Dist: ask-sdk-model (>=1.0.0)
Requires-Dist: ask-sdk-core (>=1.1.0)
Requires-Dist: cryptography (<3.0,>=2.3.0)
Requires-Dist: certvalidator (>=0.11.1)
Requires-Dist: freezegun (>=0.3.15)

===================================================================================
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.




