aiohttp-wsgi =====
aiohttp-wsgi is a WSGI adapter for aiohttp.
- Run WSGI applications (e.g. Django, Flask) on aiohttp.
- Handle thousands of client connections, using the latest evented networking library.
- Add websockets to your existing Python webapp!
WSGI applications are run in an asyncio executor. This allows existing Python frameworks like Django and Flask to run normally without blocking the main event loop or resorting to hacks like monkey-patching the Python standard library. This enables you to write the majority of your application code in a safe, predictable environment.
Asyncronous parts of your application (e.g. websockets) can be run on the same network port, using the aiohttp router to switch between your WSGI app and asyncronous code.
- Install using
pip install aiohttp-wsgi
.
This project is built on every push using the Travis-CI service.
Downloads and bug tracking can be found at the main project website.
The aiohttp-wsgi project was developed by Dave Hall. You can get the code from the aiohttp-wsgi project site.
Dave Hall is a freelance web developer, based in Cambridge, UK. You can usually find him on the Internet in a number of different places: