$npx skillfedfor your agent

awsgi2

A WSGI gateway for the AWS API Gateway/Lambda proxy integration

With conditionsPyPI Dynamic ContentReleased Dec 202481.0K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — awsgi2-1.0.2-py3-none-any.whl
v1.0.2 · released 2024-12-17 · Python <4.0,>=3.8 · 1 runtime deps: libadvian

Yes, if you need to run a WSGI framework on AWS Lambda and accept dormant maintenance. The package is stable and does one thing well, but expect no active development or bug fixes. Suitable for production use in stable, low-change applications; risky for projects requiring ongoing support or frequent updates.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later; designed specifically for AWS Lambda with API Gateway proxy integration.
  • Low install friction with a single runtime dependency.
  • Maintenance is dormant—last release was 605 days ago—so expect no active updates or bug fixes, though the package remains functional for its narrow use case.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it safe to adopt in most projects without licensing concerns.

last release 2024-12-17 (605 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 80,993 downloads/mo, #14,258 on PyPI

Verify before relying

pip install awsgi2

import awsgi2

def lambda_handler(event, context):
    return awsgi2.response(app, event, context, base64_content_types={"image/png"})
  • Whether libadvian is a required runtime dependency or an optional build/development tool.
  • Current state of the upstream original aws-wsgi project and whether awsgi2 remains the recommended fork.
  • Specific WSGI frameworks confirmed compatible beyond those mentioned in the description excerpt.
Same gist for agents: .md · .json

What it is and what it does

awsgi2 is a WSGI adapter that lets you run WSGI-compatible middleware and frameworks on AWS Lambda. It translates API Gateway proxy integration events into WSGI-compatible request/response pairs, allowing frameworks to work without modification in a serverless environment. The package is an improved fork of the original aws-wsgi project.

You install it, wrap your WSGI application in awsgi2.response() inside a Lambda handler, and deploy. It handles the event-to-WSGI conversion and response formatting, including support for base64-encoded content types. The package supports Python 3.8 through 3.12 and has a single runtime dependency on libadvian.

Use it for

  • Deploy a WSGI application to AWS Lambda without rewriting it for serverless.
  • Convert API Gateway proxy events into standard WSGI requests for existing frameworks.
  • Serve binary content from Lambda by configuring base64_content_types.
  • Migrate a traditional WSGI application to AWS Lambda with minimal code changes.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to run a WSGI framework on AWS Lambda and accept dormant maintenance.

The package is stable and does one thing well, but expect no active development or bug fixes. Suitable for production use in stable, low-change applications; risky for projects requiring ongoing support or frequent updates.

Install

awsgi2 on PyPI

Before you install

Low install friction with a single runtime dependency. Maintenance is dormant—last release was 605 days ago—so expect no active updates or bug fixes, though the package remains functional for its narrow use case.

Requires Python 3.8 or later; designed specifically for AWS Lambda with API Gateway proxy integration.

License in practice

MIT license permits commercial and private use with minimal restrictions, making it safe to adopt in most projects without licensing concerns.

Quickstart

pip install awsgi2

import awsgi2

def lambda_handler(event, context):
    return awsgi2.response(app, event, context, base64_content_types={"image/png"})

Verify before relying

  • Whether libadvian is a required runtime dependency or an optional build/development tool.
  • Current state of the upstream original aws-wsgi project and whether awsgi2 remains the recommended fork.
  • Specific WSGI frameworks confirmed compatible beyond those mentioned in the description excerpt.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
libadvian
MaintenanceDormant 605 days since the last release
First released
Downloads80,993 / month, #14,258 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: awsgi2-1.0.2-py3-none-any.whl

Tags

Capabilities
wsgi aws lambdaapi gateway lambda proxyserverless wsgi adapteraws lambda web frameworklambda wsgi gateway
Topics
aws-lambdawsgi-adapterserverless

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “wsgi aws lambda”

  • awsgi2Bridges WSGI-compatible web frameworks to AWS Lambda by converting…
  • aws-wsgiAdapts WSGI-compatible Python web frameworks to run as AWS Lambda…
  • apig-wsgiWraps a WSGI application to run as an AWS Lambda handler on API…

Give your agent the search over MCP, or paste the wish link into any chat.

More Dynamic Content packages

MarkupSafe Worth it
PyPI · Dynamic Content · released Sep 2025

MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.

BSD-3-Clausecompiled wheel · 3.9+aging
797.1Mdownloads / mo
Jinja2 Worth it
PyPI · Dynamic Content · released Mar 2025

Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.

BSD-3-Clausepure Python · 3.7+aging
718.6Mdownloads / mo
soupsieve Worth it
PyPI · Python Modules · released Aug 2026

Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.

Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.

MITpure Python · 3.10+
428.6Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo
Flask Worth it
PyPI · Application Frameworks · released Feb 2026

Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.

BSD-3-Clausepure Python · 3.9+
211.4Mdownloads / mo
Mako Worth it
PyPI · Dynamic Content · released Aug 2026

Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.

MITpure Python · 3.10+
201.7Mdownloads / mo

See also aws-wsgi · serverless-wsgi · WSGIProxy2 · apig-wsgi · zappa · mangum · aiohttp-wsgi · awslambdaric · Flask-AWSCognito