wslink
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.
RPC and publish/subscribe
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.
Get the whole story
This package is just the server side of wslink. See the github repo for the full story - and to contribute or report issues!
License
Free to use in open-source and commercial projects, under the BSD-3-Clause license.
Metadata
Release files for geode-solutions-wslink 2.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| geode-solutions-wslink-2.0.4.tar.gz | 23.6 kB | Without provenance | Details for geode-solutions-wslink-2.0.4.tar.gz |
Release files / geode-solutions-wslink-2.0.4.tar.gz
| Download URL | geode-solutions-wslink-2.0.4.tar.gz |
|---|---|
| Size | 23.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8ba6c8bdc9d8ec0d78d00e90578c8661c1fc0d52d53ba6cb3863ff7e998e103
|
|
BLAKE2b-256 checksum How to use checksums |
d6c981d63b3de1181b5b6491b169da9ad5edb505e2d441b89faacd1f3a65a02a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for geode-solutions-wslink 2.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.