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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aws-wsgi-0.0.1.tar.gz.
File metadata
- Download URL: aws-wsgi-0.0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75292dd14f74a0cec61960a9fb339a958a5530fdd463346ae681dfdc3dbf815a
|
|
| MD5 |
2d21d8f51eef2f922f2f62ba35666297
|
|
| BLAKE2b-256 |
ba703e67bf75b9cd0e144cfb016697fb4c5afe06a373504874bb461f5fe49151
|
File details
Details for the file aws_wsgi-0.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: aws_wsgi-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b0457efe451eb9c8bb555bb26f97480b302d890fa5438610286b15acde70ab2
|
|
| MD5 |
18f47a2f0ce469dad5846781013ac10d
|
|
| BLAKE2b-256 |
a5048d54376762488cc0f5ee6a4ecb277de06c264183c759d68f502a340f97dc
|