wsaccel

Accelerator for ws4py and AutobahnPython


License
Apache-2.0
Install
pip install wsaccel==0.6.6

Documentation

WSAccell

NOTE: AutobahnPython and ws4py are not actively maintained. So I will stop this project too. Please migrate to Tornado or websockets.

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.

test

wsaccel uses pytest for testing.

$ pip install pytest
$ pytest tests