Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Wslink allows easy, bi-directional communication between a python server and a javascript client over a websocket_. The client can make RPC calls to the server, and the server can publish messages to topics that the client can subscribe to. The server can include binary attachments in these messages, which are communicated as a binary websocket message, avoiding the overhead of encoding and decoding.
The initial users of wslink driving its development are VTK_ and ParaView_. ParaViewWeb and vtkWeb require:
RPC - a remote procedure call that can be fired by the client and return sometime later with a response from the server, possibly an error.
Publish/subscribe - client can subscribe to a topic provided by the server, possibly with a filter on the parts of interest. When the topic has updated results, the server publishes them to the client, without further action on the client's part.
This package is just the server side of wslink. See the github repo
_ for
the full story - and to contribute or report issues!
Those only apply for the Python server and launcher.
Free to use in open-source and commercial projects, under the BSD-3-Clause license.
.. _github repo: https://github.com/kitware/wslink .. _ParaView: https://www.paraview.org/ .. _VTK: http://www.vtk.org/ .. _websocket: https://developer.mozilla.org/en-US/docs/Web/API/WebSocket
FAQs
Python/JavaScript library for communicating over WebSocket
We found that wslink demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.