quemb.shared.configΒΆ

Configure quemb

One can modify settings in one session or create an RC-file. See examples below.

Examples

>>> from quemb.shared.config import settings
>>>
>>> settings.SCRATCH_ROOT = "/scratch"
Changes the default root for the scratch directory
for this python session.
>>> from quemb.shared.config import dump_settings
>>>
>>> dump_settings()
Creates ~/.quembrc.yml file that allows changes to persist.

Functions

dump_settings()

Writes settings to ~/.quembrc.yml

Classes

Settings([PRINT_LEVEL, SCRATCH_ROOT, ...])