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

Go to the source code of this file.

Namespaces

namespace  searx
 
namespace  searx.plugins
 
namespace  searx.plugins.calculator
 

Functions

 searx.plugins.calculator._eval_expr (expr)
 
 searx.plugins.calculator._eval (node)
 
 searx.plugins.calculator.timeout_func (timeout, func, *args, **kwargs)
 
 searx.plugins.calculator.post_search (_request, search)
 

Variables

str searx.plugins.calculator.name = "Basic Calculator"
 
 searx.plugins.calculator.description = gettext("Calculate mathematical expressions via the search bar")
 
bool searx.plugins.calculator.default_on = True
 
str searx.plugins.calculator.preference_section = 'general'
 
str searx.plugins.calculator.plugin_id = 'calculator'
 
 searx.plugins.calculator.logger = logger.getChild(plugin_id)
 
dict searx.plugins.calculator.operators