ipython#

Utils module containing useful global functions.

Functions

is_notebook()

Check if we're in an interactive context (Notebook, GUI support) or terminal-based.

is_widgets_enabled()

Check if we're running in jupyter and having jupyter widgets extension enabled.

is_headless()

Check if the system can support GUI.

create_progress_bar(name, unit[, total, ...])

Create a tqdm progress bar instance.

is_colab_env()

Check if we are in the google colab enviroment.

is_kaggle_env()

Check if we are in the kaggle enviroment.

is_widgets_use_possible()

Verify if widgets use is possible within the current environment.

is_terminal_interactive_shell()

Check whether we are in a terminal interactive shell or not.

is_zmq_interactive_shell()

Check whether we are in a web-based interactive shell or not.

Classes

ProgressBarGroup

Progress Bar Factory.