mantispy.settings

mantispy.settings#

mantispy.settings = MantispySettings(cache_dir=PosixPath('/home/docs/.cache/mantispy'), verbosity=1)#

Allows users to customize settings for the mantispy package.

Settings here will generally be for advanced use-cases and should be used with caution.

For setting an option use override() (local) or set the attributes directly (global) e.g., mantispy.settings.my_setting = foo. For assignment by environment variable, use the variable name in all caps with MANTISPY_ as the prefix before import of mantispy.

The following options are available:

settings.cache_dir: pathlib.Path = PosixPath('/home/docs/.cache/mantispy')#

Where mantispy.ds keeps the datasets it downloads.

settings.verbosity: int = 1#

How much mantispy says: 0 errors, 1 warnings, 2 info, 3 debug.