eradiate.notebook

Notebook support components.

eradiate.notebook.install(*extensions)[source]

Install notebook helpers.

Parameters:

*extensions (str) – Extensions to activate. Available extensions (all are active if this parameter is unset):

  • rich_pretty: Install rich.pretty with default configuration to the current Python REPL.

  • rich_traceback: Install rich.traceback with default configuration to the current Python REPL.

eradiate.notebook.load_ipython_extension(ipython)[source]

The Eradiate notebook extension.

This extension simply calls the eradiate.notebook.install() function.

Notes

This extension should be loaded using the IPython magic:

%load_ext eradiate