{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/3"}],"enrichment":{"capability":"Wraps a WSGI application to run as an AWS Lambda handler on API Gateway, Lambda Function URLs, or ALBs, automatically detecting event format versions and handling binary responses.","skillfed_tags":["aws-lambda","wsgi-adapter","serverless"],"use_cases":["Deploy a WSGI application behind an ALB in Lambda for cost-effective serverless HTTP handling.","Run a WSGI app on a Lambda Function URL with automatic binary response support.","Support both API Gateway REST and HTTP APIs with a single handler that auto-detects the event format.","Access Lambda context and API Gateway request metadata from within your WSGI application.","Wrap an existing WSGI application for Lambda without modifying application code."],"what_it_does":"apig-wsgi is a thin adapter that lets you run existing WSGI applications on AWS Lambda by converting API Gateway and ALB events into WSGI environ dicts and wrapping responses back into the appropriate format. It handles both event format versions automatically, manages binary content encoding, and exposes Lambda context and request metadata through WSGI environ keys so your application can access AWS-specific details if needed.\n\nThe package has no runtime dependencies and installs cleanly. It's designed for teams deploying WSGI applications to serverless without rewriting the application layer. Configuration is minimal: you create a lambda_handler by passing your WSGI app to make_lambda_handler(), then deploy that function to Lambda. The package handles format detection, multi-value headers on format version 1, and conditional base64 encoding of binary responses.","worth_installing":"Yes. This is a mature, actively maintained bridge for running WSGI applications on AWS Lambda. It has no dependencies, low install friction, clean MIT licensing, and zero known vulnerabilities. Install it if you're deploying a WSGI application to Lambda."},"id":"apig-wsgi","links":{"html":"https://skillfed.io/packages/apig-wsgi","md":"https://skillfed.io/packages/apig-wsgi.md","pypi":"https://pypi.org/project/apig-wsgi/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-09-08","license_spdx":"MIT","license_treatment":"permissive","name":"apig-wsgi","python_support":"supports_current","summary":"Wrap a WSGI application in an AWS Lambda handler function for running on API Gateway or an ALB."},"popularity":{"monthly_downloads":141923,"position":11230,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.20.0"}
