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.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3b2666edfb1411e8e49e4c29d67bd0876327012526deb118e4486fef928915b |
|
MD5 | f0196991b7fb7ab01b8abbf85e3b7e6d |
|
BLAKE2b-256 | bf1aac1e0f97c5d2b3d8de4a0cb94651a365ba7fa362376503262b8a8fa16993 |
Close
Hashes for api_gateway_v2_to_wsgi-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12ac1cca1b91d83005a65813761a55a026d0b71577b42b447ee34af3c53a04ec |
|
MD5 | 6f39d554b41f4b511fe647bcf500c11d |
|
BLAKE2b-256 | aea76a0aa674f38be549b14aa71cc75bbd47916e1d1d29f35d7741dce0e3b56a |