--- id: aiohttp-wsgi version: "0.10.0" license: BSD license_treatment: permissive maintenance: abandoned --- # aiohttp-wsgi — WSGI adapter for aiohttp. License: permissive · Maintenance: abandoned · Downloads: 79.3K/mo ## What it is and what it does aiohttp-wsgi is a bridge that lets you run traditional WSGI applications (Django, Flask, etc.) inside an aiohttp async web server. Instead of running your WSGI app in a separate process or thread pool, it adapts the WSGI interface to work with aiohttp's async event loop, allowing you to handle many concurrent connections more efficiently and add websocket endpoints to an otherwise synchronous web framework. The package is small and stable, designed to be a thin adapter layer rather than a full rewrite. It depends only on aiohttp and works across Python 3.6–3.10. However, it has been abandoned since February 2022 with no updates since then, so compatibility with newer Python versions or recent aiohttp releases is not guaranteed. Use it for: - Migrate a Django or Flask app to async without rewriting it, running it on aiohttp's event loop - Add websocket endpoints to an existing WSGI application using aiohttp's websocket support - Handle many concurrent client connections by leveraging asyncio instead of threading - Gradually transition a synchronous web framework toward async by running it under aiohttp ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Runs WSGI applications like Django and Flask on aiohttp, enabling async handling of client connections and adding websocket support to existing Python web apps. Yes-with-conditions. The package is permissive-licensed, has low install friction, and solves a real problem for teams wanting to run WSGI apps on aiohttp. However, it is abandoned (last release 2022-02-20) and untested against newer Python versions or recent aiohttp releases. Install only if you are confident the current version works with your target environment, or if you are willing to fork and maintain it yourself. ## Install pip install aiohttp-wsgi uv add aiohttp-wsgi poetry add aiohttp-wsgi ## Installing aiohttp-wsgi Before you install: Low install friction with a single runtime dependency (aiohttp). However, the package is abandoned—last release was 2022-02-20, over 1636 days ago. While marked stable and actively used in production when maintained, no updates have been made to address potential compatibility issues with newer Python or aiohttp versions. License in practice: BSD license is permissive, allowing commercial and private use with minimal restrictions. No licensing barrier to adoption. Quickstart: pip install aiohttp-wsgi from aiohttp_wsgi import setup from aiohttp import web app = web.Application() setup(app, your_wsgi_application) web.run_app(app) Requires aiohttp as a runtime dependency; no other known blockers, though compatibility with Python versions beyond 3.10 is unverified given the package's abandoned status. Verify before relying: - Whether the package remains compatible with current aiohttp releases and Python versions beyond 3.10 - Whether websocket functionality works as documented with modern aiohttp versions - Current production usage patterns and whether critical bugs have been reported since 2022 ## Package facts - License: BSD (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 79.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags wsgi adapter aiohttp, run django on aiohttp, flask async aiohttp, wsgi to asyncio bridge, add websockets to wsgi app, aiohttp wsgi integration, wsgi-adapter, async-bridge, abandoned [View on SkillFed](https://skillfed.io/packages/aiohttp-wsgi) · [View on PyPI](https://pypi.org/project/aiohttp-wsgi/)