wslink
Python/JavaScript library for communicating over WebSocket
Decision gist · record as of 2026-08-14
Yes. wslink is actively maintained, has low install friction, carries a permissive license, and solves a specific problem (structured bi-directional websocket communication with binary support) that is difficult to replicate with standard HTTP or generic websocket libraries. It is suitable for production use in scientific, visualization, and real-time collaboration contexts.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with only two runtime dependencies (aiohttp and msgpack).
- Actively maintained with a recent release.
License · maintenance · safety
permissive license (permissive) — BSD 3 License (permissive) allows commercial and private use with minimal restrictions.
last release 2026-05-15 (91 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 883,879 downloads/mo, #4,816 on PyPI
Alternatives
Verify before relying
pip install wslink
from wslink import server
import aiohttp- Specific server configuration and port setup examples beyond basic import patterns.
- Performance characteristics under high message volume or large binary attachment sizes.
- Compatibility matrix between specific Python versions and client library versions (JavaScript/C++).
What it is and what it does
wslink is a websocket library that bridges Python servers and web clients (JavaScript or C++) with a focus on structured, bi-directional communication. It implements two primary patterns: remote procedure calls (RPC), where clients invoke server methods and wait for responses, and publish/subscribe, where clients subscribe to server topics and receive updates without further action. The library handles binary attachments natively as websocket frames, avoiding the serialization overhead of encoding them as text.
The package is built on aiohttp and msgpack for async HTTP handling and efficient message serialization. It targets developers building interactive web applications, scientific visualization tools, or real-time collaborative systems where tight client-server coupling and low latency matter. The main documented user is trame, a framework for building web-based visualization and data applications.
Use it for
- Build interactive scientific visualization dashboards where a Python backend drives real-time updates to a web frontend.
- Implement remote procedure calls from a JavaScript UI to a Python computation engine with structured request/response handling.
- Stream binary data (images, arrays, sensor readings) from a Python server to web clients without text encoding overhead.
- Create publish/subscribe systems where multiple web clients subscribe to server-generated topics and receive filtered updates.
- Integrate Python data processing pipelines with C++ or JavaScript frontends over a single persistent websocket connection.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
wslink is actively maintained, has low install friction, carries a permissive license, and solves a specific problem (structured bi-directional websocket communication with binary support) that is difficult to replicate with standard HTTP or generic websocket libraries. It is suitable for production use in scientific, visualization, and real-time collaboration contexts.
Install
wslink on PyPI
Before you install
Low install friction with only two runtime dependencies (aiohttp and msgpack). Actively maintained with a recent release.
Requires Python 3.10 or later.
License in practice
BSD 3 License (permissive) allows commercial and private use with minimal restrictions.
Quickstart
pip install wslink
from wslink import server
import aiohttp
Verify before relying
- Specific server configuration and port setup examples beyond basic import patterns.
- Performance characteristics under high message volume or large binary attachment sizes.
- Compatibility matrix between specific Python versions and client library versions (JavaScript/C++).
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesaiohttpmsgpack |
| Maintenance | Actively maintained 91 days since the last release |
| First released | |
| Downloads | 883,879 / month, #4,816 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Scientific/Engineering |
Evidence: wslink-2.5.7-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “python javascript rpc”
- wslinkwslink provides bi-directional websocket communication between a…
- convexPython client for Convex, a backend-as-a-service platform, enabling…
- connect-pythonProvides Python client and server libraries for Connect RPC, a…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also ws4py · python-socketio · autobahn · websocket · simple-websocket · gevent-websocket · pysignalclirestapi · zwave-js-server-python · Pysher · signalwire