.oO SearXNG Developer Documentation Oo.
|
Namespaces | |
namespace | ahmia_filter |
namespace | calculator |
namespace | hash_plugin |
namespace | hostnames |
namespace | oa_doi_rewrite |
namespace | self_info |
namespace | tor_check |
namespace | tracker_url_remover |
namespace | unit_converter |
Classes | |
class | Plugin |
class | PluginStore |
Functions | |
sha_sum (filename) | |
sync_resource (base_path, resource_path, name, target_dir, plugin_dir) | |
prepare_package_resources (plugin, plugin_module_name) | |
load_plugin (plugin_module_name, external) | |
load_and_initialize_plugin (plugin_module_name, external, init_args) | |
plugin_module_names () | |
initialize (app) | |
Variables | |
logger = logger.getChild("plugins") | |
tuple | required_attrs |
tuple | optional_attrs |
plugins = PluginStore() | |
searx.plugins.initialize | ( | app | ) |
Definition at line 228 of file __init__.py.
References searx.plugins.load_and_initialize_plugin(), and searx.plugins.plugin_module_names().
searx.plugins.load_and_initialize_plugin | ( | plugin_module_name, | |
external, | |||
init_args ) |
Definition at line 177 of file __init__.py.
References searx.plugins.load_plugin().
Referenced by searx.plugins.initialize().
searx.plugins.load_plugin | ( | plugin_module_name, | |
external ) |
Definition at line 112 of file __init__.py.
References searx.format, and searx.plugins.prepare_package_resources().
Referenced by searx.plugins.load_and_initialize_plugin().
searx.plugins.plugin_module_names | ( | ) |
Definition at line 214 of file __init__.py.
Referenced by searx.plugins.initialize().
searx.plugins.prepare_package_resources | ( | plugin, | |
plugin_module_name ) |
Definition at line 73 of file __init__.py.
References searx.format, and searx.plugins.sync_resource().
Referenced by searx.plugins.load_plugin().
searx.plugins.sha_sum | ( | filename | ) |
Definition at line 48 of file __init__.py.
Referenced by searx.plugins.sync_resource().
searx.plugins.sync_resource | ( | base_path, | |
resource_path, | |||
name, | |||
target_dir, | |||
plugin_dir ) |
Definition at line 54 of file __init__.py.
References searx.format, and searx.plugins.sha_sum().
Referenced by searx.plugins.prepare_package_resources().
searx.plugins.logger = logger.getChild("plugins") |
Definition at line 29 of file __init__.py.
tuple searx.plugins.optional_attrs |
Definition at line 39 of file __init__.py.
searx.plugins.plugins = PluginStore() |
Definition at line 211 of file __init__.py.
tuple searx.plugins.required_attrs |
Definition at line 31 of file __init__.py.