WSAccell is WebSocket accelerator for AutobahnPython, and ws4py.
WSAccell replaces per-byte process in them with Cython version.
AutobahnPython beginning with version 0.6 automatically uses WSAccell if available. Otherwise you can run-time patch supported WebSocket libraries using:
import wsaccel
wsaccel.patch_autobahn() # for autobahn.
wsaccel.patch_ws4py() # for ws4py.
Note
WSAccell also provides accelerator for Tornado. But Tornado provides own speedup module for now. So Tornado acceralator has been deprecated.
wsaccel uses pytest for testing.
$ pip install pytest
$ py.test tests