Skip to main content

ASK SDK DynamoDB Adapter of Python ASK SDK

ask-sdk-dynamodb-persistence-adapter is the persistence adapter package for Alexa Skills Kit (ASK) by the Software Development Kit (SDK) team for Python. It has the persistence adapter implementation for connecting the Skill to the AWS DynamoDB. It also provides partition key generator functions, to get the user id or device id from skill request, that can be used as partition keys.

Quick Start

Installation

Assuming that you have Python and virtualenv installed, you can install the package and it’s dependencies (ask-sdk-model, ask-sdk-core) from PyPi as follows:

$ virtualenv venv
$ . venv/bin/activate
$ pip install ask-sdk-dynamodb-persistence-adapter

You can also install the whole dynamodb persistence adapter package locally by following these steps:

$ git clone https://github.com/alexa/alexa-skills-kit-sdk-for-python.git
$ cd alexa-skills-kit-sdk-for-python/ask-sdk-dynamodb-persistence-adapter
$ virtualenv venv
...
$ . venv/bin/activate
$ python setup.py install

Usage and Getting Started

Getting started guides, SDK Features, API references, samples etc. can be found at Read The Docs

Got Feedback?

  • We would like to hear about your bugs, feature requests, questions or quick feedback. Please search for the existing 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!!

  • Request and vote for Alexa features!

CHANGELOG

0.1

  • Initial release of ASK SDK DynamoDB Persistence Adapter package.

0.1.1

  • Docstring changes for generated docs.

0.1.2

  • unicode_type = six.text_type and define long in Python 3 (#1)

  • Use feature detection instead of version detection (#10)

  • Send stringified raw data to Alexa APIs (#12)

0.1.3

  • Remove inspect.getargspec from sb decorators. Closes #20

1.0.0

  • Production release of ASK SDK DynamoDB Persistence Adapter Package.

1.1.0

This release contains the following changes:

  • Introducing runtime layer (#41)

  • Send data to service clients only if present (#39)

1.2.0

This release contains the following changes :

  • Add support for Alexa Presentation Language (Public Beta). The Alexa Presentation Language (APL) enables you to build interactive voice experiences that include graphics, images, slideshows, and to customize them for different device types.

1.3.0

This release contains the following features :

1.4.0

This release contains the following changes :

  • Add helper function for matching CanFulfill Intent name #46 <https://github.com/alexa/alexa-skills-kit-sdk-for-python/pull/46>

  • Deserialize only if payload is not None 48 <https://github.com/alexa/alexa-skills-kit-sdk-for-python/pull/48>

1.5.0

This release contains the following changes :

  • Refactor Python version dependencies for Python 3.7 support 50

1.6.0

This release contains the following changes :

  • Update DefaultSerializer to let generic classes to be added as session attributes 60.

1.7.0

This release contains the following changes :

  • Add optional play_behavior attribute to speak and ask methods in response builder 61.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ask-sdk-dynamodb-persistence-adapter-1.7.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ask_sdk_dynamodb_persistence_adapter-1.7.0-py2.py3-none-any.whl (7.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ask-sdk-dynamodb-persistence-adapter-1.7.0.tar.gz.

File metadata

  • Download URL: ask-sdk-dynamodb-persistence-adapter-1.7.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6

File hashes

Hashes for ask-sdk-dynamodb-persistence-adapter-1.7.0.tar.gz
Algorithm Hash digest
SHA256 d7a519e417f6055009b9c0a4c671d63c79e3adbf93df4c42b5f520f42a1d1961
MD5 35f2f11b4064506c72b69577a2e72dee
BLAKE2b-256 4f4b684db88558095f6fc85d9e34d71502ad7167b08bfb1d7518b54106131b42

See more details on using hashes here.

File details

Details for the file ask_sdk_dynamodb_persistence_adapter-1.7.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ask_sdk_dynamodb_persistence_adapter-1.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dbcc85afab6fbaef44f3d92958570f899d3bc0d662157772dcb558e7d331c0b9
MD5 6faf5d33537dfbdc6018cb75367b08a5
BLAKE2b-256 e3ef127d009ccbbb7f985134772bc6cc1a09714b07b116c00f358730d048331a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page