[![build status](https://github.com/asottile/api-gateway-v2-to-wsgi/actions/workflows/main.yml/badge.svg)](https://github.com/asottile/api-gateway-v2-to-wsgi/actions/workflows/main.yml)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/asottile/api-gateway-v2-to-wsgi/main.svg)](https://results.pre-commit.ci/latest/github/asottile/api-gateway-v2-to-wsgi/main)
api-gateway-v2-to-wsgi
======================
translation from the aws api gateway v2.0 lambda event to wsgi
## installation
```bash
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 integration guide]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html
Raw data
{
"_id": null,
"home_page": "https://github.com/asottile/api-gateway-v2-to-wsgi",
"name": "api-gateway-v2-to-wsgi",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "",
"author": "Anthony Sottile",
"author_email": "asottile@umich.edu",
"download_url": "https://files.pythonhosted.org/packages/7d/74/a253d574d355b0158e83a7ac0aa7a99ff418ea39837ce9416bcd70160dc0/api_gateway_v2_to_wsgi-1.1.1.tar.gz",
"platform": null,
"description": "[![build status](https://github.com/asottile/api-gateway-v2-to-wsgi/actions/workflows/main.yml/badge.svg)](https://github.com/asottile/api-gateway-v2-to-wsgi/actions/workflows/main.yml)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/asottile/api-gateway-v2-to-wsgi/main.svg)](https://results.pre-commit.ci/latest/github/asottile/api-gateway-v2-to-wsgi/main)\n\napi-gateway-v2-to-wsgi\n======================\n\ntranslation from the aws api gateway v2.0 lambda event to wsgi\n\n## installation\n\n```bash\npip install api-gateway-v2-to-wsgi\n```\n\n## usage\n\n```python\nimport api_gateway_v2_to_wsgi\n\nfrom ... import app\n\n# app is your wsgi callable, such as the `Flask(...)` object from `flask`\nlambda_handler = api_gateway_v2_to_wsgi.make_lambda_handler(app)\n```\n\n## sample application\n\nfor a full sample, see [testing/example](testing/example)\n\n## more information\n\nfor more information on how I set up my lambda, see\n[testing/example.md](testing/example.md).\n\nadditionally, see the [api gateway documentation] (though it's not very good\nat the time of writing so glhf)\n\nseems the [lambda integration guide] is slightly better\n\n[api gateway documentation]: https://docs.aws.amazon.com/apigateway/index.html\n[lambda integration guide]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "translation from the aws api gateway v2.0 lambda event to wsgi",
"version": "1.1.1",
"project_urls": {
"Homepage": "https://github.com/asottile/api-gateway-v2-to-wsgi"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d7ab145b84f09f525351ecd04b9c08d7876430a6ce05ae00ae7157489926c722",
"md5": "fb0730a0ff5c99c1fac05bcc086b2f55",
"sha256": "da113aee9a1f4ff103c54069905057d42b0fef9484f794848cc072ab5d6d8043"
},
"downloads": -1,
"filename": "api_gateway_v2_to_wsgi-1.1.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "fb0730a0ff5c99c1fac05bcc086b2f55",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.8",
"size": 4085,
"upload_time": "2023-06-13T16:29:18",
"upload_time_iso_8601": "2023-06-13T16:29:18.515349Z",
"url": "https://files.pythonhosted.org/packages/d7/ab/145b84f09f525351ecd04b9c08d7876430a6ce05ae00ae7157489926c722/api_gateway_v2_to_wsgi-1.1.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7d74a253d574d355b0158e83a7ac0aa7a99ff418ea39837ce9416bcd70160dc0",
"md5": "21e13b4719ef5f5d7b1ed775c209e9bc",
"sha256": "fe607da6f5aac952bd863733aa11a3dcfa5b924dd5b1f8e69709c5afa9782787"
},
"downloads": -1,
"filename": "api_gateway_v2_to_wsgi-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "21e13b4719ef5f5d7b1ed775c209e9bc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 3750,
"upload_time": "2023-06-13T16:29:19",
"upload_time_iso_8601": "2023-06-13T16:29:19.501542Z",
"url": "https://files.pythonhosted.org/packages/7d/74/a253d574d355b0158e83a7ac0aa7a99ff418ea39837ce9416bcd70160dc0/api_gateway_v2_to_wsgi-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-13 16:29:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "asottile",
"github_project": "api-gateway-v2-to-wsgi",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "api-gateway-v2-to-wsgi"
}