Module transport

Module transport 

Source
Expand description

ZMQ transport and Jupyter v5 framing utilities

Implements multipart message encoding/decoding with HMAC signatures according to the Jupyter messaging protocol. Used by the kernel server to read requests from the shell/control channels and publish results on the IOPub channel.

Enums§

SignatureAlg
Signature algorithm supported by the kernel

Functions§

recv_jupyter_message
Decode a multipart message received from a ZMQ socket into routing identities and a structured JupyterMessage. Verifies the HMAC signature if a key exists.
send_jupyter_message
Encode and send a JupyterMessage with given routing identities on a ZMQ socket.