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_headless()

Check if the system can support GUI.

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

Create a progress bar instance.

is_colab_env()

Check if we are in the google colab environment.

is_kaggle_env()

Check if we are in the kaggle environment.

is_databricks_env()

Check if we are in the databricks environment.

is_sagemaker_env()

Check if we are in the AWS Sagemaker 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.

is_sphinx()

Check if we're in a sphinx gallery env.

Classes

ProgressBarGroup

Progress Bar Factory.