ecolab

ecolab#

[[Source]]

from etils import ecolab

Colab public API.

All symbols#

Module#

ecolab

Colab public API.

Class#

ecolab.ReloadMode

Invalidate mode.

Function#

ecolab.auto_display

Activate auto display statements ending with ; (activated by default).

ecolab.auto_inspect

Add a button on each cell outputs to switch output to ecolab.inspect.

ecolab.auto_plot_array

If called, 2d/3d imgage arrays will be plotted as images in colab/jupyter.

ecolab.clear_cached_modules

Clear the sys.modules cache.

ecolab.collapse

Capture all outputs and display it in a collapsible block.

ecolab.disp

Display the object.

ecolab.get_permalink

Get the permalink for the current colab.

ecolab.highlight_html

Add Python syntax highlighting to a Python code string.

ecolab.inspect

Inspect all attributes of a Python object interactivelly.

ecolab.interruptible

Catch KeyboardInterrupts to end the loop without raising an Exception.

ecolab.json

Display the Json dict / list interactivelly (with collapsible elems).

ecolab.patch_graphviz

Fix graphviz display on Colab.

ecolab.pyjs_import

<script></script> to import to add in the HTML.

ecolab.register_js_fn

Decorator to make a function callable from Javascript.

ecolab.set_verbose

Log stderr & absl.logging in Colab (filtered by default).