Skip to main content

The WsDataUtil is a lightweight, highly compatible Python module to process WebSocket data.

Project description

The WsDataUtil is a lightweight, highly compatible Python module to process WebSocket data. The parsing, building and masking of WebSocket frames is implemented in C to increase performance.

The core of the module is the Frame and the StreamReader object as an interface to the C api. This serves as the result value from parsing and as the parameter for building a WebSocket frame. A frame is not checked for plausibility or according to the specification RFC6455. This should be implemented later if required.

For the sake of completeness, the HandshakeRequest object is available.

Installation:

python -m pip install wsdatautil --upgrade

Tests

python test.py
python test.py -h

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wsdatautil-0.2.tar.gz (11.4 kB view hashes)

Uploaded Source

Built Distributions

wsdatautil-0.2-py3-none-any.whl (11.3 kB view hashes)

Uploaded Python 3

wsdatautil-0.2-pp310-pypy310_pp73-win_amd64.whl (18.9 kB view hashes)

Uploaded PyPy Windows x86-64

wsdatautil-0.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.9 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

wsdatautil-0.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (17.5 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

wsdatautil-0.2-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (17.2 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

wsdatautil-0.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl (16.2 kB view hashes)

Uploaded PyPy macOS 11.0+ ARM64

wsdatautil-0.2-pp310-pypy310_pp73-macosx_10_15_x86_64.whl (16.2 kB view hashes)

Uploaded PyPy macOS 10.15+ x86-64

wsdatautil-0.2-pp39-pypy39_pp73-win_amd64.whl (18.9 kB view hashes)

Uploaded PyPy Windows x86-64

wsdatautil-0.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.9 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

wsdatautil-0.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (17.5 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

wsdatautil-0.2-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (17.2 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

wsdatautil-0.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl (16.2 kB view hashes)

Uploaded PyPy macOS 11.0+ ARM64

wsdatautil-0.2-pp39-pypy39_pp73-macosx_10_15_x86_64.whl (16.2 kB view hashes)

Uploaded PyPy macOS 10.15+ x86-64

wsdatautil-0.2-cp313-cp313-win_amd64.whl (18.9 kB view hashes)

Uploaded CPython 3.13 Windows x86-64

wsdatautil-0.2-cp313-cp313-win32.whl (18.2 kB view hashes)

Uploaded CPython 3.13 Windows x86

wsdatautil-0.2-cp313-cp313-musllinux_1_2_x86_64.whl (28.0 kB view hashes)

Uploaded CPython 3.13 musllinux: musl 1.2+ x86-64

wsdatautil-0.2-cp313-cp313-musllinux_1_2_i686.whl (27.9 kB view hashes)

Uploaded CPython 3.13 musllinux: musl 1.2+ i686

wsdatautil-0.2-cp313-cp313-musllinux_1_2_aarch64.whl (28.5 kB view hashes)

Uploaded CPython 3.13 musllinux: musl 1.2+ ARM64

wsdatautil-0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28.3 kB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64

wsdatautil-0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (28.8 kB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ ARM64

wsdatautil-0.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (27.5 kB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

wsdatautil-0.2-cp313-cp313-macosx_11_0_arm64.whl (16.3 kB view hashes)

Uploaded CPython 3.13 macOS 11.0+ ARM64

wsdatautil-0.2-cp313-cp313-macosx_10_13_x86_64.whl (16.3 kB view hashes)

Uploaded CPython 3.13 macOS 10.13+ x86-64

wsdatautil-0.2-cp313-cp313-macosx_10_13_universal2.whl (20.8 kB view hashes)

Uploaded CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64)

wsdatautil-0.2-cp312-cp312-win_amd64.whl (18.9 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

wsdatautil-0.2-cp312-cp312-win32.whl (18.2 kB view hashes)

Uploaded CPython 3.12 Windows x86

wsdatautil-0.2-cp312-cp312-musllinux_1_2_x86_64.whl (28.0 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.2+ x86-64

wsdatautil-0.2-cp312-cp312-musllinux_1_2_i686.whl (27.8 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.2+ i686

wsdatautil-0.2-cp312-cp312-musllinux_1_2_aarch64.whl (28.5 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.2+ ARM64

wsdatautil-0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28.3 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

wsdatautil-0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (28.8 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

wsdatautil-0.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (27.6 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

wsdatautil-0.2-cp312-cp312-macosx_11_0_arm64.whl (16.3 kB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

wsdatautil-0.2-cp312-cp312-macosx_10_9_x86_64.whl (16.3 kB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

wsdatautil-0.2-cp312-cp312-macosx_10_9_universal2.whl (20.8 kB view hashes)

Uploaded CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64)

wsdatautil-0.2-cp311-cp311-win_amd64.whl (18.9 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

wsdatautil-0.2-cp311-cp311-win32.whl (18.2 kB view hashes)

Uploaded CPython 3.11 Windows x86

wsdatautil-0.2-cp311-cp311-musllinux_1_2_x86_64.whl (27.9 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

wsdatautil-0.2-cp311-cp311-musllinux_1_2_i686.whl (27.7 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.2+ i686

wsdatautil-0.2-cp311-cp311-musllinux_1_2_aarch64.whl (28.4 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.2+ ARM64

wsdatautil-0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28.2 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

wsdatautil-0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (28.7 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

wsdatautil-0.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (27.5 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

wsdatautil-0.2-cp311-cp311-macosx_11_0_arm64.whl (16.3 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

wsdatautil-0.2-cp311-cp311-macosx_10_9_x86_64.whl (16.3 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

wsdatautil-0.2-cp311-cp311-macosx_10_9_universal2.whl (20.8 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)

wsdatautil-0.2-cp310-cp310-win_amd64.whl (18.9 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

wsdatautil-0.2-cp310-cp310-win32.whl (18.2 kB view hashes)

Uploaded CPython 3.10 Windows x86

wsdatautil-0.2-cp310-cp310-musllinux_1_2_x86_64.whl (27.8 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

wsdatautil-0.2-cp310-cp310-musllinux_1_2_i686.whl (27.6 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.2+ i686

wsdatautil-0.2-cp310-cp310-musllinux_1_2_aarch64.whl (28.2 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.2+ ARM64

wsdatautil-0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28.1 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

wsdatautil-0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (28.6 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

wsdatautil-0.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (27.4 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

wsdatautil-0.2-cp310-cp310-macosx_11_0_arm64.whl (16.3 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

wsdatautil-0.2-cp310-cp310-macosx_10_9_x86_64.whl (16.3 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

wsdatautil-0.2-cp310-cp310-macosx_10_9_universal2.whl (20.8 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)

wsdatautil-0.2-cp39-cp39-win_amd64.whl (18.9 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

wsdatautil-0.2-cp39-cp39-win32.whl (18.2 kB view hashes)

Uploaded CPython 3.9 Windows x86

wsdatautil-0.2-cp39-cp39-musllinux_1_2_x86_64.whl (27.6 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

wsdatautil-0.2-cp39-cp39-musllinux_1_2_i686.whl (27.5 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.2+ i686

wsdatautil-0.2-cp39-cp39-musllinux_1_2_aarch64.whl (28.1 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.2+ ARM64

wsdatautil-0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (27.9 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

wsdatautil-0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (28.4 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

wsdatautil-0.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (27.2 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

wsdatautil-0.2-cp39-cp39-macosx_11_0_arm64.whl (16.3 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

wsdatautil-0.2-cp39-cp39-macosx_10_9_x86_64.whl (16.3 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

wsdatautil-0.2-cp39-cp39-macosx_10_9_universal2.whl (20.8 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page