Skip to main content

CherryPy ASK SDK

Extending Ask SDK to work with CherryPy.

Quick Start

Mandatory warning from the upstream ask-sdk for python.

If you already have a skill built using the ASK SDK skill builders, then you only need to do the following to set this up in your CherryPy application:

import cherrypy
import cherrypy_ask_sdk
from ask_sdk_core.skill_builder import SkillBuilder

sb = SkillBuilder()
# Register all handlers, interceptors etc.
# For eg : sb.add_request_handler(LaunchRequestHandler())

# add the ask_sdk_skill tool in the global ``cherrypy.tools`` toolbox.
# Passing the cherrypy.tools toolbox is the default, but passing it
# explicitly just to make it more explicit.
cherrypy_ask_sdk.add_in_toolbox(cherrypy.tools)

if __name__ == '__main__':
    cherrypy.quickstart(
        config={
            '/': {
                'tools.ask_sdk_skill.on': True,
                'tools.ask_sdk_skill.skill': sb.create(),
                'tools.ask_sdk_skill.verify_signature': True,
                'tools.ask_sdk_skill.verify_timestamp': True
            }
        }
    )

Installation

pip install cherrypy-ask-sdk

Features

  • Works as an extension on skills built using ASK SDK. No need to learn something new.

  • Provides default request signature and request timestamp verification.

  • Provides a way to register multiple skills in the tree.

Metadata

Release files for cherrypy-ask-sdk 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cherrypy-ask-sdk 0.1.3
File Size Uploaded Provenance Actions
cherrypy-ask-sdk-0.1.3.tar.gz 8.1 kB Without provenance Details for cherrypy-ask-sdk-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cherrypy-ask-sdk 0.1.3
File Interpreter ABI Platform Actions
cherrypy_ask_sdk-0.1.3-py2.py3-none-any.whl Python 2, Python 3 none any Details for cherrypy_ask_sdk-0.1.3-py2.py3-none-any.whl

Total release size: 16.2 kB

Release files / cherrypy-ask-sdk-0.1.3.tar.gz

Download URL cherrypy-ask-sdk-0.1.3.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a3e7f8fe9e17a33fe51b10930e8fc8adc4ea53a08c8261146ce9eb0e86a5d1b2
BLAKE2b-256 checksum
How to use checksums
0614c628338891ac80f248c3dbfeae5cad4747ba2c99c8200aea99f9c8a114a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / cherrypy_ask_sdk-0.1.3-py2.py3-none-any.whl

Download URL cherrypy_ask_sdk-0.1.3-py2.py3-none-any.whl
Size 8.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d2cd7e9a950514361a550e52d9d6bc5be13e9470f17c6ef0cb617bbed905a1ca
BLAKE2b-256 checksum
How to use checksums
10481a99f944bd05c8e8b3c547a2855f9454b37bc19cb2e4d00981e69cb66f8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Security for cherrypy-ask-sdk 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page