Skip to main content

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


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)

Uploaded Source

Built Distribution

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

aws_wsgi-0.0.1-py2.py3-none-any.whl (3.8 kB view details)

Uploaded Python 2Python 3

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

Hashes for aws-wsgi-0.0.1.tar.gz
Algorithm Hash digest
SHA256 75292dd14f74a0cec61960a9fb339a958a5530fdd463346ae681dfdc3dbf815a
MD5 2d21d8f51eef2f922f2f62ba35666297
BLAKE2b-256 ba703e67bf75b9cd0e144cfb016697fb4c5afe06a373504874bb461f5fe49151

See more details on using hashes here.

File details

Details for the file aws_wsgi-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for aws_wsgi-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4b0457efe451eb9c8bb555bb26f97480b302d890fa5438610286b15acde70ab2
MD5 18f47a2f0ce469dad5846781013ac10d
BLAKE2b-256 a5048d54376762488cc0f5ee6a4ecb277de06c264183c759d68f502a340f97dc

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