Skip to main content

WSGI compatibility for AWS API Gateway proxy resources

Project description

Makes Python WSGI apps compatible with AWS API Gateway proxy resources.

Example

from flask import Flask
import apigwsgi

app = Flask(__name__)

@app.route("/")
def index():
    return "Hello from Flask!"

handler = apigwsgi.Handler(my_wsgi_app)

Limitations

API Gateway doesn’t currently support binary responses, and fails if your application sends non-unicode data.

See also

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

apigwsgi-0.1.2.tar.gz (5.9 kB view hashes)

Uploaded Source

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