.oO SearXNG Developer Documentation Oo.
|
Classes | |
class | SettingsBytesValue |
class | SettingsDirectoryValue |
class | SettingSublistValue |
class | SettingsValue |
Functions | |
apply_schema (settings, schema, path_list) | |
settings_set_defaults (settings) | |
Variables | |
searx_dir = abspath(dirname(__file__)) | |
logger = logging.getLogger('searx') | |
list | OUTPUT_FORMATS = ['html', 'csv', 'json', 'rss'] |
list | SXNG_LOCALE_TAGS = ['all', 'auto'] + list(l[0] for l in sxng_locales) |
tuple | SIMPLE_STYLE = ('auto', 'light', 'dark', 'black') |
dict | CATEGORIES_AS_TABS |
dict | STR_TO_BOOL |
_UNDEFINED = object() | |
dict | SCHEMA |
Implementation of the default settings.
searx.settings_defaults.apply_schema | ( | settings, | |
schema, | |||
path_list ) |
Definition at line 119 of file settings_defaults.py.
References searx.settings_defaults.apply_schema().
Referenced by searx.settings_defaults.apply_schema(), and searx.settings_defaults.settings_set_defaults().
searx.settings_defaults.settings_set_defaults | ( | settings | ) |
Definition at line 248 of file settings_defaults.py.
References searx.settings_defaults.apply_schema().
|
protected |
Definition at line 42 of file settings_defaults.py.
dict searx.settings_defaults.CATEGORIES_AS_TABS |
Definition at line 22 of file settings_defaults.py.
searx.settings_defaults.logger = logging.getLogger('searx') |
Definition at line 18 of file settings_defaults.py.
list searx.settings_defaults.OUTPUT_FORMATS = ['html', 'csv', 'json', 'rss'] |
Definition at line 19 of file settings_defaults.py.
dict searx.settings_defaults.SCHEMA |
Definition at line 138 of file settings_defaults.py.
searx.settings_defaults.searx_dir = abspath(dirname(__file__)) |
Definition at line 16 of file settings_defaults.py.
tuple searx.settings_defaults.SIMPLE_STYLE = ('auto', 'light', 'dark', 'black') |
Definition at line 21 of file settings_defaults.py.
dict searx.settings_defaults.STR_TO_BOOL |
Definition at line 34 of file settings_defaults.py.
list searx.settings_defaults.SXNG_LOCALE_TAGS = ['all', 'auto'] + list(l[0] for l in sxng_locales) |
Definition at line 20 of file settings_defaults.py.