skbio.get_config#

skbio.get_config(option=None)[source]#

Get one or all current scikit-bio configuration values.

Parameters:
optionstr or None, optional

Option to inspect. See available options. If None (default), return all options.

Changed in version 0.7.4: Can be omitted to return all options.

Returns:
str or dict of str to str

Current value, or a copy of all current values keyed by option name. Changing the returned dictionary does not change configuration.

Raises:
KeyError

If the option is unknown.

See also

set_config

Examples

>>> from skbio import get_config
>>> sorted(get_config())
['compute_engine', 'table_output']