Skip to main content

AWS Lambda WSGI - WSGI adapter for AWS API Gateway/Lambda Proxy Integration

Project description


A WSGI adapter for AWS API Gateway/Lambda Proxy Integration

AWS-Lambda-WSGI allows you to use WSGI-compatible middleware and frameworks like Bottle, Django and Flask with the AWS API Gateway/Lambda proxy integration.

Based on awsgi, by Matthew Wedgwood.


aws_lambda_wsgi is available from PyPI as aws_lambda_wsgi:

pip install aws_lambda_wsgi


import aws_lambda_wsgi
from bottle import Bottle

app = Bottle()

def index():
    return {'message': 'OK'}

def lambda_handler(event, context):
    return aws_lambda_wsgi.response(app, event, context)

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

aws_lambda_wsgi-0.0.6.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

aws_lambda_wsgi-0.0.6-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page