pymor.core.config

Module Contents

pymor.core.config.config[source]
class pymor.core.config.Config[source]

Methods

require

version

require(self, dependency)[source]
property version(self)[source]
pymor.core.config.is_jupyter()[source]

Check if we believe to be running in a Jupyter Notebook or Lab.

This method is not foolproof and might fail with any given Jupyter release.

pymor.core.config.is_macos_platform()[source]
pymor.core.config.is_nbconvert()[source]

Check if a notebook is executed with nbconvert.

In some visualization cases we need to be able to detect if a notebook is executed with nbconvert to disable async loading.

pymor.core.config.is_windows_platform()[source]