Skip to main content

aws-lambda-wsgi

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.

Installation

aws_lambda_wsgi is available from PyPI as aws_lambda_wsgi:

pip install aws_lambda_wsgi

Example

import aws_lambda_wsgi
from bottle import Bottle

app = Bottle()


@app.route('/')
def index():
    return {'message': 'OK'}


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

Metadata

Release files for aws-lambda-wsgi 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-lambda-wsgi 0.0.6
File Size Uploaded
aws_lambda_wsgi-0.0.6.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-lambda-wsgi 0.0.6
File Interpreter ABI Platform
aws_lambda_wsgi-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 6.8 kB

Release files / aws_lambda_wsgi-0.0.6.tar.gz

Download URL aws_lambda_wsgi-0.0.6.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
54ac15c5586f72b1429253bdcb487b7214a348713fd0034de7d45e849224e893
BLAKE2b-256 checksum
How to use checksums
fbc7c2b1ebe38b48adb0c156b2e335efa6405b33cee3aa65e918f0d6008aeb77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

Release files / aws_lambda_wsgi-0.0.6-py3-none-any.whl

Download URL aws_lambda_wsgi-0.0.6-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28669d8168a46b49a77ba127711f4db05ccd35379bbcbcc28ef515b9c8ce0c67
BLAKE2b-256 checksum
How to use checksums
84646beb002f48f3215dcd8e521b0afe13531e8cfb0e55d4d4ffbf992c232df6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page