Unit Converter - SearXNG Documentation (2026.12.6+8db8dcca1) Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode
Unit Converter
A plugin for converting measured values from one unit to another unit (a unit converter).
The plugin looks up the symbols (given in the query term) in a list of
converters, each converter is one item in the list (compare
ADDITIONAL_UNITS). If the symbols are ambiguous, the matching units
of measurement are evaluated. The weighting in the evaluation results from the
sorting of the list of unit converters.
- class searx.plugins.unit_converter. SXNGPlugin ( plg_cfg : PluginCfg ) [source]
Convert between units. The result is displayed in area for the "answers".
- id : str = 'unit_converter'
The ID (suffix) in the HTML form.
- post_search ( request : SXNG_Request , search : SearchWithPlugins ) → EngineResults [source]
Runs AFTER the search request. Can return a list of
Resultobjects to be added to the final result list.