jupyter_protocol::connection_info

Function jupyter_style_key

Source
pub fn jupyter_style_key() -> String
Expand description

Generate a random key in the style of Jupyter: “AAAAAAAA-AAAAAAAAAAAAAAAAAAAAAAAA” (A comment in the Python source indicates the author intended a dash every 8 characters, but only actually does it for the first chunk)