.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
__init__.py File Reference

Go to the source code of this file.

Namespaces

namespace  searx
 

Functions

 searx.get_setting (name, default=_unset)
 
 searx.is_color_terminal ()
 
 searx.logging_config_debug ()
 

Variables

str searx.LOG_FORMAT_DEBUG = '%(levelname)-7s %(name)-30.30s: %(message)s'
 
str searx.LOG_FORMAT_PROD = '%(asctime)-15s %(levelname)s:%(name)s: %(message)s'
 
 searx.LOG_LEVEL_PROD = logging.WARNING
 
 searx.searx_dir = abspath(dirname(__file__))
 
 searx.searx_parent_dir = abspath(dirname(dirname(__file__)))
 
 searx.settings = settings_set_defaults(settings)
 
 searx.settings_load_message
 
 searx._unset = object()
 
 searx.searx_debug = settings['general']['debug']
 
 searx.level
 
 searx.format
 
 searx.logger = logging.getLogger('searx')
 
 searx.max_request_timeout = settings['outgoing']['max_request_timeout']