{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/3"}],"enrichment":{"capability":"wslink provides bi-directional websocket communication between a Python server and JavaScript or C++ clients, supporting remote procedure calls and publish/subscribe messaging with optional binary attachments.","skillfed_tags":["websocket","rpc","real-time-communication"],"use_cases":["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."],"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.\n\nThe 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.","worth_installing":"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."},"id":"wslink","links":{"html":"https://skillfed.io/packages/wslink","md":"https://skillfed.io/packages/wslink.md","pypi":"https://pypi.org/project/wslink/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-15","license_spdx":null,"license_treatment":"permissive","name":"wslink","python_support":"supports_current","summary":"Python/JavaScript library for communicating over WebSocket"},"popularity":{"monthly_downloads":883879,"position":4816,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.5.7"}
