Metadata-Version: 2.1
Name: api-gateway-v2-to-wsgi
Version: 1.0.1
Summary: translation from the aws api gateway v2.0 lambda event to wsgi
Home-page: https://github.com/asottile/api-gateway-v2-to-wsgi
Author: Anthony Sottile
Author-email: asottile@umich.edu
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.8
Description-Content-Type: text/markdown

[![Build Status](https://dev.azure.com/asottile/asottile/_apis/build/status/asottile.api-gateway-v2-to-wsgi?branchName=master)](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=65&branchName=master)
[![Azure DevOps coverage](https://img.shields.io/azure-devops/coverage/asottile/asottile/65/master.svg)](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=65&branchName=master)

api-gateway-v2-to-wsgi
======================

translation from the aws api gateway v2.0 lambda event to wsgi

## installation

`pip install api-gateway-v2-to-wsgi`

## usage

```python
import api_gateway_v2_to_wsgi

from ... import app

# app is your wsgi callable, such as the `Flask(...)` object from `flask`
lambda_handler = api_gateway_v2_to_wsgi.make_lambda_handler(app)
```

## sample application

for a full sample, see [testing/example](testing/example)

## more information

for more information on how I set up my lambda, see
[testing/example.md](testing/example.md).

additionally, see the [api gateway documentation] (though it's not very good
at the time of writing so glhf)

seems the [lambda integration guide] is slightly better

[api gateway documentation]: https://docs.aws.amazon.com/apigateway/index.html
[lambda integratio guide]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html


