Skip to main content

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

Project description

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)

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.5.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_lambda_wsgi-0.0.5-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file aws_lambda_wsgi-0.0.5.tar.gz.

File metadata

  • Download URL: aws_lambda_wsgi-0.0.5.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for aws_lambda_wsgi-0.0.5.tar.gz
Algorithm Hash digest
SHA256 96d0c5923dc9ba96b4ec1c5710b0f42278e71f1e7e3fa39e646bb829e4f9bf52
MD5 d3b66f31ad4da9c673c18779b9d19efd
BLAKE2b-256 ef77492b410cd8d5aae15bc56dadff3c0803a249134fdcac1e1d56f858593a83

See more details on using hashes here.

File details

Details for the file aws_lambda_wsgi-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: aws_lambda_wsgi-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for aws_lambda_wsgi-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2fa63fd612c4c59d7c99ceeb70da1a36db865f7a04f8afd9d33099d2c9810f3b
MD5 46da06e996690ae0cbf206bd51a0857f
BLAKE2b-256 8f12b1a9a8bcc1ea2710c9344c570435ec0d69e70851b3453aa1f0a23b16526c

See more details on using hashes here.

Supported by

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