paraphernalia.jupyter module

Tools for notebook-based work.

run_once(js, timeout=10000)[source]

Utility to run a snippet of javascript once.

Parameters
  • js (str) – A snippet of Javascript to run

  • timeout (int, optional) – Maximum permitted delay in milliseconds. Defaults to 10 seconds, which is reasonable for Colaboratory.

ding(url='https://freesound.org/data/previews/80/80921_1022651-lq.ogg')[source]

Play a sound in a notebook.

Parameters

url (str, optional) – URL of the sound to play. Defaults to DEFAULT_DING.

say(text)[source]

Say a provided text using the Web Speech API.

Parameters

text (str) – The text to say