Skip to main content

The ASK SDK Core package provides core Alexa Skills Kit functionality, for building Alexa Skills.

Project description

ASK SDK Core - Base components of Python ASK SDK

ask-sdk-core is the core SDK package for Alexa Skills Kit (ASK) by the Software Development Kit (SDK) team for Python. It provides the base components and default implementations which work as the boiler plate code for developing Alexa Skills.

Quick Start

Installation

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

$ virtualenv venv
$ . venv/bin/activate
$ pip install ask-sdk-core

You can also install the whole standard 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-core
$ 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 alexa skills kit core sdk.

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

1.8.0

This release contains the following changes :

  • Allow Default API Client to invoke Alexa APIs that require other than ‘application/json’ body type.

1.9.0

This release includes the following :

  • Request utility methods which makes it easier to retrieve common properties from an incoming request.

1.10.0

This release contains the following changes :

  • Viewport Utils support for Echo Show 5 (HUB_LANDSCAPE_SMALL).

  • Add check for device information in ‘get_device_id’ utility function.

  • Add ‘get_user_id’ utility function.

1.10.1

This release contains the following :

  • Fix the regression bug on response_interceptors.

1.10.2

This release contains the following changes :

  • Bug fix on delete persistence attributes, to delete attributes without checking if they are set.

  • Fix type hints on lambda_handler.

1.11.0

This release contains the following changes : - Template Resolvers used to generate responses using templates to handle ASK SDK requests. - Bug fix Delete persistence attributes without checking setter. - Bug fix Allow out-of-session requests. - Bug fix Change get_slot_value function to return None when slot is not present. - Bug fix Change decorator returned by request_handler to return the handler function.

1.12.0

This release contains the following changes :

  • person_id as partition key generator, when storing persistence attributes in dynamo tables.

  • py.typed files for ask-sdk-core. Fixes #121.

  • Minor doc fix in ask-sdk-core readme.

1.13.0

This release contains the following changes :

  • py.typed files added to sdk packages, as per PEP 561. Fixes 121.

  • Fixes the literal check bug in api client, that fails in Python 3.8 127

1.14.0

This release contains the following changes :

  • general bug fixes and updates

1.15.0

This release contains the following changes :

  • A new class UserAgentManager, to help set user agents for higher level frameworks using the SDK

1.16.0

This release includes the following :

  • Added directive support on reprompt by creating utils on Response helper

1.16.1

This release contains the following changes :

  • general bug fixes and updates

1.17.1

This release includes the following :

  • Added A/B testing SPIs support on response by creating utils on Response helper

1.18.0

General bug fixes and updates

1.19.0

General bug fixes and updates

Project details


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-core-1.19.0.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

ask_sdk_core-1.19.0-py2.py3-none-any.whl (46.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ask-sdk-core-1.19.0.tar.gz.

File metadata

  • Download URL: ask-sdk-core-1.19.0.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.16

File hashes

Hashes for ask-sdk-core-1.19.0.tar.gz
Algorithm Hash digest
SHA256 4d964c96d6dc4d10a5f3064de4e1d5f2afbc0c1cb021cf35b66d842a29e74170
MD5 97dd74c4bfde9df6b923b3109ffc13fa
BLAKE2b-256 d5a367b2fbc3c16248f6497e74d5e4bacf6b47d52139003e9d12465aeb2bb308

See more details on using hashes here.

File details

Details for the file ask_sdk_core-1.19.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ask_sdk_core-1.19.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a2acb4c7e08d08c299a4b9d2e8c46a8b6448bb594ad05ac2febd2f7bb9d1f922
MD5 8a6cd6e01b88de5a5c4b3103780f5e53
BLAKE2b-256 d198904d317ecda7a9284b90ceea93e9f0966b2e00a3d6521f5a44f398fc3a45

See more details on using hashes here.

Supported by

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