translation from the aws api gateway v2.0 lambda event to wsgi
Project description
api-gateway-v2-to-wsgi
translation from the aws api gateway v2.0 lambda event to wsgi
installation
pip install api-gateway-v2-to-wsgi
usage
import api_gateway_v2_to_wsgi
from ... import app
# app is your wsgi callable, such as the `Flask(...)` object from `flask`
lambda_handler = api_gateway_v2_to_wsgi.make_lambda_handler(app)
sample application
for a full sample, see testing/example
more information
for more information on how I set up my lambda, see testing/example.md.
additionally, see the api gateway documentation (though it's not very good at the time of writing so glhf)
seems the lambda integration guide is slightly better
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
Built Distribution
File details
Details for the file api_gateway_v2_to_wsgi-1.1.1.tar.gz
.
File metadata
- Download URL: api_gateway_v2_to_wsgi-1.1.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe607da6f5aac952bd863733aa11a3dcfa5b924dd5b1f8e69709c5afa9782787 |
|
MD5 | 21e13b4719ef5f5d7b1ed775c209e9bc |
|
BLAKE2b-256 | 7d74a253d574d355b0158e83a7ac0aa7a99ff418ea39837ce9416bcd70160dc0 |
File details
Details for the file api_gateway_v2_to_wsgi-1.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: api_gateway_v2_to_wsgi-1.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da113aee9a1f4ff103c54069905057d42b0fef9484f794848cc072ab5d6d8043 |
|
MD5 | fb0730a0ff5c99c1fac05bcc086b2f55 |
|
BLAKE2b-256 | d7ab145b84f09f525351ecd04b9c08d7876430a6ce05ae00ae7157489926c722 |