Calculator

Calculate mathematical expressions using ast.parse (mode=”eval”).

class searx.plugins.calculator.SXNGPlugin(plg_cfg: PluginCfg)[source]

Plugin converts strings to different hash digests. The results are displayed in area for the “answers”.

id: str = 'calculator'

The ID (suffix) in the HTML form.

Runs AFTER the search request. Can return a list of Result objects to be added to the final result list.