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

Go to the source code of this file.

Namespaces

namespace  searx
 
namespace  searx.plugins
 
namespace  searx.plugins.unit_converter
 

Functions

 searx.plugins.unit_converter.symbol_to_si ()
 
 searx.plugins.unit_converter._parse_text_and_convert (search, from_query, to_query)
 
 searx.plugins.unit_converter.post_search (_request, search)
 

Variables

str searx.plugins.unit_converter.name = "Unit converter plugin"
 
 searx.plugins.unit_converter.description = gettext("Convert between units")
 
bool searx.plugins.unit_converter.default_on = True
 
str searx.plugins.unit_converter.plugin_id = "unit_converter"
 
str searx.plugins.unit_converter.preference_section = "general"
 
list searx.plugins.unit_converter.CONVERT_KEYWORDS = ["in", "to", "as"]
 
str searx.plugins.unit_converter.RE_MEASURE
 
list searx.plugins.unit_converter.ADDITIONAL_UNITS
 
dict searx.plugins.unit_converter.ALIAS_SYMBOLS
 
list searx.plugins.unit_converter.SYMBOL_TO_SI = []