{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http"}],"enrichment":{"capability":"Converts between WSGI and ASGI applications bidirectionally without buffering request or response content in memory.","skillfed_tags":["wsgi-asgi-bridge","streaming-middleware","framework-migration"],"use_cases":["Migrate a Flask or Django WSGI app to run on an ASGI server like Starlette or FastAPI without rewriting the application.","Deploy a FastAPI or Starlette ASGI app on traditional WSGI-only hosting (e.g., Apache with mod_wsgi).","Handle large file uploads or streaming responses without memory overhead in WSGI-to-ASGI conversion.","Bridge WSGI and ASGI middleware in a single application stack for gradual framework migration.","Access original protocol details (WSGI environ or ASGI scope) from the opposite protocol layer."],"what_it_does":"a2wsgi is a bidirectional converter between WSGI and ASGI application interfaces. It wraps a WSGI app to run as ASGI (using a thread pool of up to 10 threads by default) or wraps an ASGI app to run as WSGI (with optional timeout for background tasks). The core design avoids accumulating request or response content in memory, streaming data instead\u2014a difference from converters in uvicorn, startlette, or hypercorn that may buffer entire payloads.\n\nThe package is pure Python, depends only on typing_extensions at runtime, and requires Python 3.8 or later. It exposes the original WSGI environ or ASGI scope through special keys, allowing applications to access protocol-level details when needed. Typical use is migrating legacy WSGI projects to ASGI frameworks or deploying ASGI apps in WSGI-only hosting environments.","worth_installing":"Yes. a2wsgi solves a real problem\u2014bidirectional WSGI/ASGI conversion without memory buffering\u2014with low install friction, active maintenance, no known vulnerabilities, and a permissive license. Install it when you need to bridge WSGI and ASGI applications or migrate between them."},"id":"a2wsgi","links":{"html":"https://skillfed.io/packages/a2wsgi","md":"https://skillfed.io/packages/a2wsgi.md","pypi":"https://pypi.org/project/a2wsgi/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-06-18","license_spdx":null,"license_treatment":"permissive","name":"a2wsgi","python_support":"supports_current","summary":"Convert WSGI app to ASGI app or ASGI app to WSGI app."},"popularity":{"monthly_downloads":12244758,"position":1333,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.10.10"}
