PyAlexa for AWS lambda and HTTPS server
© 2018 SiLeader.
usage
use AWS Lambda
import alexa
def lambda_handler(data, _):
request = alexa.Request(data)
if request.type == "IntentRequest":
response = alexa.Response()
response.output_speech(text="Alexa Test")
return response.response
use Flask
from flask import Flask, request, jsonify
import alexa
app = Flask(__name__)
@app.route("/alexa/endpoint", methods=["POST"])
def alexa_endpoint():
req = alexa.Request(request.json)
if request.type == "IntentRequest":
res = alexa.Response()
res.output_speech(text="Alexa Test")
return jsonify(res.response)
License
Apache License 2.0
See LICENSE
for Dialogflow
Metadata
Release files for pyalexa-lambda 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyalexa-lambda-1.0.4.tar.gz | 3.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyalexa_lambda-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / pyalexa-lambda-1.0.4.tar.gz
| Download URL | pyalexa-lambda-1.0.4.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4dcc67f0887dab0d2b267e2b4de231fdb3595c45851f718fa8b323ddf81f2aad
|
|
BLAKE2b-256 checksum How to use checksums |
b71ac871c0ffd2c325c363c578a0bfee20ec902557215d2b5af2871725c3733d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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.23.4 CPython/3.7.0
|
Release files / pyalexa_lambda-1.0.4-py3-none-any.whl
| Download URL | pyalexa_lambda-1.0.4-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12056979bb06455c33299daed137af73669f45063a5da621a6e18fb6d03e9073
|
|
BLAKE2b-256 checksum How to use checksums |
20061193e2ce989d5da3fe47490a84e45ce463da2917cd7f86765c47d13ff570
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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.23.4 CPython/3.7.0
|
Security for pyalexa-lambda 1.0.4
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.