pymor.scripts.pymor_config

Module Contents

pymor.scripts.pymor_config.main(*, show_defaults: bool = False, show_cached_methods: bool = False, all: bool = False)[source]

Show pyMOR config.

Parameters:
  • show_defaults – Also show values of all pyMOR defaults.

  • show_cached_methods – Also show which methods are cached by default.

  • all – Print all information.

pymor.scripts.pymor_config.write_defaults(filename: pathlib.Path = Path('./pymor_defaults.py'))[source]

Write pyMOR defaults to a config file.

pyMOR will look for a file ‘pymor_defaults.py’ in the current directory and automatically load defaults from this file. Alternatively, defaults can be loaded using load_defaults_from_file or by setting the PYMOR_DEFAULTS environment variable.

Parameters:

filename – Write defaults to this file.

pymor.scripts.pymor_config.app[source]