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
Close
Hashes for api_gateway_v2_to_wsgi-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 587ccd51e1da803b03dcc84d19e07fe6e22d1050ab175164acb52c8ad6a54a2d |
|
MD5 | 045708ac7148017cf7bed31b46f55c5d |
|
BLAKE2b-256 | 917c1ca906e0b866bfd467707ba03c576a7b31cc39924ad1167651db7a7199bf |
Close
Hashes for api_gateway_v2_to_wsgi-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c1158b140847baf07108b6a6137b96bbcf3cd216073c68f3d61926e113f5bf2 |
|
MD5 | 5aa2c1a03068f849ffe995207fbbe997 |
|
BLAKE2b-256 | 534aacdee13c141093a5be2669bad11a844607ff6aabb3b93fca3a63406bda73 |