Skip to main content

build status pre-commit.ci status

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

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

more information

for more information on how I set up my lambda, see 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

Metadata

Release files for api-gateway-v2-to-wsgi 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for api-gateway-v2-to-wsgi 1.1.1
File Size Uploaded Provenance Actions
api_gateway_v2_to_wsgi-1.1.1.tar.gz 3.8 kB Without provenance Details for api_gateway_v2_to_wsgi-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for api-gateway-v2-to-wsgi 1.1.1
File Interpreter ABI Platform Actions
api_gateway_v2_to_wsgi-1.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details for api_gateway_v2_to_wsgi-1.1.1-py2.py3-none-any.whl

Total release size: 7.8 kB

Release files / api_gateway_v2_to_wsgi-1.1.1.tar.gz

Download URL api_gateway_v2_to_wsgi-1.1.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fe607da6f5aac952bd863733aa11a3dcfa5b924dd5b1f8e69709c5afa9782787
BLAKE2b-256 checksum
How to use checksums
7d74a253d574d355b0158e83a7ac0aa7a99ff418ea39837ce9416bcd70160dc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / api_gateway_v2_to_wsgi-1.1.1-py2.py3-none-any.whl

Download URL api_gateway_v2_to_wsgi-1.1.1-py2.py3-none-any.whl
Size 4.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
da113aee9a1f4ff103c54069905057d42b0fef9484f794848cc072ab5d6d8043
BLAKE2b-256 checksum
How to use checksums
d7ab145b84f09f525351ecd04b9c08d7876430a6ce05ae00ae7157489926c722
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Security for api-gateway-v2-to-wsgi 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page