-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,971 changed files
with
1,198,125 additions
and
676 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# These are some examples of commonly ignored file patterns. | ||
# You should customize this list as applicable to your project. | ||
# Learn more about .gitignore: | ||
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore | ||
|
||
# Node artifact files | ||
node_modules/ | ||
dist/ | ||
|
||
# Compiled Java class files | ||
*.class | ||
|
||
# Compiled Python bytecode | ||
*.py[cod] | ||
|
||
# Log files | ||
*.log | ||
|
||
# Package files | ||
*.jar | ||
|
||
# Maven | ||
target/ | ||
dist/ | ||
|
||
# JetBrains IDE | ||
.idea/ | ||
|
||
# Unit test reports | ||
TEST*.xml | ||
|
||
# Generated by MacOS | ||
.DS_Store | ||
|
||
# Generated by Windows | ||
Thumbs.db | ||
|
||
# Applications | ||
*.app | ||
*.exe | ||
*.war | ||
|
||
# Large media files | ||
*.mp4 | ||
*.tiff | ||
*.avi | ||
*.flv | ||
*.mov | ||
*.wmv | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,39 @@ | ||
# ChemVox | ||
This is the python source code of ChemVox (https://www.amazon.com/dp/B08G1C97J5). ChemVox is a free, ready to use Alexa skill that interfaces Amazon Web Services (AWS) with the PubChem chemical database and the TeraChem Cloud framework for cloud based quantum chemistry. ChemVox can answer questions related to the electronic properties of small and medium sized molecules in a matter of seconds, offering universal easy access to quantum chemistry simulations. | ||
# ChemVox: an Alexa skill to perform real-time quantum chemistry calculations | ||
|
||
This is the python source code of ChemVox (https://www.amazon.com/dp/B08G1C97J5). | ||
|
||
ChemVox is a free, ready to use Alexa skill that interfaces Amazon Web Services (AWS) with the PubChem chemical database and the TeraChem Cloud framework for cloud based quantum chemistry. | ||
|
||
ChemVox can answer questions related to the electronic properties of small and medium sized molecules in a matter of seconds, offering universal easy access to quantum chemistry simulations. | ||
|
||
## Skill Architecture | ||
Each skill consists of two basic parts, a front end and a back end. | ||
The voice interface is configured through the voice interaction model. | ||
The back end is where the logic of your skill resides and the source code is provided here. | ||
|
||
--- | ||
|
||
## Dependencies | ||
|
||
* [Alexa Skills Kit SDK ](https://github.com/alexa/alexa-skills-kit-sdk-for-python.git) | ||
* [PubChemPy ](https://github.com/mcs07/PubChemPy.git) | ||
* [TeraChem Cloud Client](https://bitbucket.org/mtzcloud/tcc-python/src/master/) | ||
|
||
## Additional Resources | ||
|
||
### Documentation | ||
|
||
* [Alexa Skills Kit SDK in Python](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-python/overview.html) - The Official Python SDK Documentation | ||
* [PubChemPy](https://pubchempy.readthedocs.io/en/latest) - The Official PubChemPy documentation | ||
* [TeraChem Cloud Client](https://mtzgrouptcc.readthedocs.io/en/latest/readme.html) - The official TeraChem Cloud documentation | ||
|
||
### Tutorials | ||
* [How to build the ChemVox skill](https://youtu.be/mQinUlxQU3k) - A video that will walk through getting Alexa able to perform quantum chemistry calculations using TeraChem Cloud | ||
* [Official Alexa Skills Kit Documentation](https://developer.amazon.com/docs/ask-overviews/build-skills-with-the-alexa-skills-kit.html) - Official Alexa Skills Kit Documentation | ||
|
||
## Contact | ||
* ChemVox team <[email protected]> | ||
* Umberto Raucci <[email protected]> | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,247 @@ | ||
Metadata-Version: 2.1 | ||
Name: ask-sdk | ||
Version: 1.13.0 | ||
Summary: The ASK SDK Standard package provides a full distribution of the SDK, all batteries included, for building Alexa Skills. | ||
Home-page: https://github.com/alexa/alexa-skills-kit-sdk-for-python | ||
Author: Alexa Skills Kit | ||
Author-email: [email protected] | ||
License: Apache 2.0 | ||
Keywords: ASK SDK,Alexa Skills Kit,Alexa,ASK SDK Core,Persistence,DynamoDB,ASK SDK Standard | ||
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-core (>=1.1.0) | ||
Requires-Dist: ask-sdk-dynamodb-persistence-adapter (>=1.1.0) | ||
|
||
======================================================== | ||
ASK SDK - Standard / Full distribution of Python ASK SDK | ||
======================================================== | ||
|
||
ask-sdk is the standard SDK package for Alexa Skills Kit (ASK) by | ||
the Software Development Kit (SDK) team for Python. It is a *all batteries included* | ||
package 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``, ``ask-sdk-core``, | ||
``ask-sdk-dynamodb-persistence-adapter``) from PyPi | ||
as follows: | ||
|
||
.. code-block:: sh | ||
|
||
$ virtualenv venv | ||
$ . venv/bin/activate | ||
$ pip install ask-sdk | ||
|
||
|
||
You can also install the whole standard package locally by following these steps: | ||
|
||
.. code-block:: sh | ||
|
||
$ git clone https://github.com/alexa/alexa-skills-kit-sdk-for-python.git | ||
$ cd alexa-skills-kit-sdk-for-python/ask-sdk | ||
$ 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 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 ASK SDK Standard 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 <https://github.com/alexa-labs/alexa-skills-kit-sdk-for-python/issues/20>`_ | ||
|
||
1.0.0 | ||
----- | ||
|
||
* Production release of ASK SDK Standard Package. | ||
|
||
|
||
1.1.0 | ||
~~~~~~~ | ||
|
||
This release contains the following changes: | ||
|
||
- Introducing runtime layer (`#41 <https://github.com/alexa/alexa-skills-kit-sdk-for-python/pull/41>`__) | ||
- Send data to service clients only if present (`#39 <https://github.com/alexa/alexa-skills-kit-sdk-for-python/pull/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 : | ||
|
||
- Support for [Name-free Interactions, using CanFulfill Intent in responses](https://developer.amazon.com/docs/custom-skills/implement-canfulfillintentrequest-for-name-free-interaction.html). | ||
|
||
|
||
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 <https://github.com/alexa/alexa-skills-kit-sdk-for-python/pull/50>`__ | ||
|
||
|
||
1.6.0 | ||
~~~~~~~ | ||
|
||
This release contains the following changes : | ||
|
||
- Update DefaultSerializer to let generic classes to be added as session attributes `60 <https://github.com/alexa/alexa-skills-kit-sdk-for-python/pull/60>`__. | ||
|
||
|
||
1.7.0 | ||
~~~~~~~ | ||
|
||
This release contains the following changes : | ||
|
||
- Add optional `play_behavior` attribute to `speak` and `ask` methods in response builder `61 <https://github.com/alexa/alexa-skills-kit-sdk-for-python/pull/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 <https://github.com/alexa/alexa-skills-kit-sdk-for-python/pull/99>`__ on delete persistence attributes, to delete attributes without checking if they are set. | ||
- Fix `type hints <https://github.com/alexa/alexa-skills-kit-sdk-for-python/pull/95>`__ on lambda_handler. | ||
|
||
|
||
1.11.0 | ||
~~~~~~~ | ||
|
||
This release contains the following changes : | ||
- `Template Resolvers <https://github.com/alexa/alexa-skills-kit-sdk-for-python/pull/114>`__ used to generate responses using templates to handle ASK SDK requests. | ||
- `Bug fix <https://github.com/alexa/alexa-skills-kit-sdk-for-python/pull/99>`__ Delete persistence attributes without checking setter. | ||
- `Bug fix <https://github.com/alexa/alexa-skills-kit-sdk-for-python/pull/109>`__ Allow out-of-session requests. | ||
- `Bug fix <https://github.com/alexa/alexa-skills-kit-sdk-for-python/pull/107>`__ Change get_slot_value function to return None when slot is not present. | ||
- `Bug fix <https://github.com/alexa/alexa-skills-kit-sdk-for-python/pull/110>`__ 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 <https://www.python.org/dev/peps/pep-0561/>`__. Fixes `121 <https://github.com/alexa/alexa-skills-kit-sdk-for-python/issues/121>`__. | ||
- Fixes the literal check bug in api client, that fails in Python 3.8 `127 <https://github.com/alexa/alexa-skills-kit-sdk-for-python/issues/127>`__ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
ask_sdk-1.13.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 | ||
ask_sdk-1.13.0.dist-info/METADATA,sha256=TEW5MZqC4zOwlsvY2SX1QeWaW4dDBqMlnkB5_s6GQ0I,7858 | ||
ask_sdk-1.13.0.dist-info/RECORD,, | ||
ask_sdk-1.13.0.dist-info/WHEEL,sha256=gduuPyBvFJQSQ0zdyxF7k0zynDXbIbvg5ZBHoXum5uk,110 | ||
ask_sdk-1.13.0.dist-info/top_level.txt,sha256=Txfrst5Rtk9Xl8JydW3UiQaLSxL-6enNzxJmwZmnKY4,8 | ||
ask_sdk/__init__.py,sha256=IcoO9pX-nozlYUnlElCiO8wqGpqxzPftaJzYujSHWbc,593 | ||
ask_sdk/__pycache__/__init__.cpython-37.pyc,, | ||
ask_sdk/__pycache__/__version__.cpython-37.pyc,, | ||
ask_sdk/__pycache__/standard.cpython-37.pyc,, | ||
ask_sdk/__version__.py,sha256=yWBmp5QF-ThHchgXiFgzCa_V6RGV-iuFY_E--6NrsdI,1186 | ||
ask_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 | ||
ask_sdk/standard.py,sha256=S7n5WM0OrDepc1gQjFUhaSbXj4Xk8l5Z7HFHOaYGulw,4223 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Wheel-Version: 1.0 | ||
Generator: bdist_wheel (0.31.1) | ||
Root-Is-Purelib: true | ||
Tag: py2-none-any | ||
Tag: py3-none-any | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ask_sdk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights | ||
# Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"). | ||
# You may not use this file except in compliance with the License. | ||
# A copy of the License is located at | ||
# | ||
# http://aws.amazon.com/apache2.0/ | ||
# | ||
# or in the "license" file accompanying this file. This file is | ||
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS | ||
# OF ANY KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations under the | ||
# License. | ||
# |
Oops, something went wrong.