pymor.core.config

Module Contents

Classes

Config

Functions

_can_import

_get_fenics_version

is_windows_platform

is_macos_platform

_get_matplotib_version

_get_ipython_version

_get_slycot_version

_get_qt_version

is_jupyter

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

is_nbconvert

Check if a notebook is executed with nbconvert.

Attributes

_PACKAGES

config

pymor.core.config._can_import(module)[source]
pymor.core.config._get_fenics_version()[source]
pymor.core.config.is_windows_platform()[source]
pymor.core.config.is_macos_platform()[source]
pymor.core.config._get_matplotib_version()[source]
pymor.core.config._get_ipython_version()[source]
pymor.core.config._get_slycot_version()[source]
pymor.core.config._get_qt_version()[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_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._PACKAGES[source]
class pymor.core.config.Config[source]
property version(self)[source]
__getattr__(self, name)[source]
__dir__(self, old=False)[source]

Default dir() implementation.

__repr__(self)[source]

Return repr(self).

pymor.core.config.config[source]