Skip to main content

Wrap a WSGI application in an AWS Lambda handler function for running on API Gateway.

Project description

https://img.shields.io/travis/adamchainz/apig-wsgi/master.svg https://img.shields.io/pypi/v/apig-wsgi.svg

Wrap a WSGI application in an AWS Lambda handler function for running on API Gateway.

A quick example:

from apig_wsgi import make_lambda_handler
from myapp.wsgi import app

# Configure this as your entry point in AWS Lambda
lambda_handler = make_lambda_handler(app)

Installation

Use pip:

pip install apig-wsgi

Tested on Python 2.7 and Python 3.6.

History

Pending Release

1.0.0 (2018-03-08)

  • First release on PyPI, working basic integration for WSGI apps on API Gateway.

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

apig-wsgi-1.0.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

apig_wsgi-1.0.0-py2.py3-none-any.whl (5.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file apig-wsgi-1.0.0.tar.gz.

File metadata

  • Download URL: apig-wsgi-1.0.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for apig-wsgi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 95d273b9f49bdd45e15b6d9916ca63f1cf543a4d646b01027405d297bc286b6b
MD5 ebb43a3c61eda8dd4db077ba4cfaafaa
BLAKE2b-256 5193bbc6f6da07121f820f86b07fb9a9403cd93366e4fa95587398f17c6f1c2f

See more details on using hashes here.

File details

Details for the file apig_wsgi-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for apig_wsgi-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8033e965d8416eaccde37763925619e41c5ca178cfebb51e8f6e7a4f22492f83
MD5 46f2089bafae904010dcdcfd9cfadb08
BLAKE2b-256 3ca5d461ea8762ecf12fe2d9686bd91092ee2802da30daaf8513d7fb6d18f73c

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