aws-lambda-wsgi-0.0.6
توضیحات
AWS Lambda WSGI - WSGI adapter for AWS API Gateway/Lambda Proxy Integration
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | aws-lambda-wsgi-0.0.6 |
| نام | aws-lambda-wsgi |
| نسخه کتابخانه | 0.0.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Marcos Araujo Sobrinho |
| ایمیل نویسنده | marcos.sobrinho@truckpad.com.br |
| آدرس صفحه اصلی | https://github.com/truckpad/aws-lambda-wsgi |
| آدرس اینترنتی | https://pypi.org/project/aws-lambda-wsgi/ |
| مجوز | - |
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](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-set-up-simple-proxy.html).
Based on [awsgi, by Matthew Wedgwood](https://github.com/slank/awsgi).
Installation
------------
`aws_lambda_wsgi` is available from PyPI as `aws_lambda_wsgi`:
```
pip install aws_lambda_wsgi
```
Example
-------
```python
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)
```
نحوه نصب
نصب پکیج whl aws-lambda-wsgi-0.0.6:
pip install aws-lambda-wsgi-0.0.6.whl
نصب پکیج tar.gz aws-lambda-wsgi-0.0.6:
pip install aws-lambda-wsgi-0.0.6.tar.gz