WSGI adapter for AWS API Gateway/Lambda Proxy Integration
Project description
AWSGI allows you to use WSGI-compatible middleware and frameworks like Flask and Django with the AWS API Gateway/Lambda proxy integration.
Example
import awsgi from flask import ( Flask, jsonify, ) app = Flask(__name__) @app.route('/') def index(): return jsonify(status=200, message='OK') def lambda_handler(event, context): return awsgi.response(app, event, context)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aws-wsgi-0.0.1.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for aws_wsgi-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b0457efe451eb9c8bb555bb26f97480b302d890fa5438610286b15acde70ab2 |
|
MD5 | 18f47a2f0ce469dad5846781013ac10d |
|
BLAKE2b-256 | a5048d54376762488cc0f5ee6a4ecb277de06c264183c759d68f502a340f97dc |