wsa

wsaccel

Accelerator for ws4py and AutobahnPython

Showing:

Popularity

Downloads/wk

0

GitHub Stars

80

Maintenance

Last Commit

8mos ago

Contributors

8

Package

Dependencies

0

License

Apache

Categories

Readme

WSAccell

.. image:: https://travis-ci.org/methane/wsaccel.svg?branch=master :target: https://travis-ci.org/methane/wsaccel

NOTE: AutobahnPython and ws4py are not actively maintained. So I will stop this project too. Please migrate to Tornado <https://www.tornadoweb.org/en/stable/> or websockets <https://websockets.readthedocs.io/en/stable/intro.html>.

WSAccell is WebSocket accelerator for AutobahnPython <https://autobahn.readthedocs.io/en/latest/>, and ws4py <https://github.com/Lawouach/WebSocket-for-Python>.

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:

.. code-block:: python

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 accelerator has been deprecated.

test

wsaccel uses pytest <https://pytest.org/>_ for testing.

.. code-block:: console

$ pip install pytest
$ py.test tests

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial