jmao-denver / plugin-python-rpc-pickle

An example Deephaven plugin that implements Python remote function calls using pickle for serialization.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pickle RPC example for Deephaven

This sample project demonstrates the bidirectional plugin tooling for the python client and server, and uses Python's pickle package to customize how objects are serialized to enable clients and servers to talk about server objects.

Warning

The pickle module is not secure. Please read the advisory at https://docs.python.org/3/library/pickle.html before considering using or adapting this example to your own needs.

To use it, install the server plugin in the same venv that your deephaven-core server uses when running, and install the client plugin in the same venv that your pydeephaven client is using.

About

An example Deephaven plugin that implements Python remote function calls using pickle for serialization.

License:Apache License 2.0


Languages

Language:Python 100.0%