|
.oO SearXNG Developer Documentation Oo.
|
Namespaces | |
| namespace | __main__ |
| namespace | traits |
Classes | |
| class | Engine |
| class | EngineCache |
Functions | |
| state () | |
| maintenance (bool force=True) | |
Variables | |
| list | __all__ = ["EngineCache", "Engine", "ENGINES_CACHE"] |
| ExpireCacheSQLite | ENGINES_CACHE |
| app = typer.Typer() | |
Implementations of the framework for the SearXNG engines.
- :py:obj:`searx.enginelib.EngineCache`
- :py:obj:`searx.enginelib.Engine`
- :py:obj:`searx.enginelib.traits`
There is a command line for developer purposes and for deeper analysis. Here is
an example in which the command line is called in the development environment::
$ ./manage pyenv.cmd bash --norc --noprofile
(py3) python -m searx.enginelib --help
.. hint::
The long term goal is to modularize all implementations of the engine
framework here in this Python package. ToDo:
- move implementations of the :ref:`searx.engines loader` to a new module in
the :py:obj:`searx.enginelib` namespace.
-----
| searx.enginelib.maintenance | ( | bool | force = True | ) |
Carry out maintenance on cache of the engines.
Definition at line 74 of file __init__.py.
| searx.enginelib.state | ( | ) |
Show state for the caches of the engines.
Definition at line 59 of file __init__.py.
|
private |
Definition at line 26 of file __init__.py.
| searx.enginelib.app = typer.Typer() |
Definition at line 55 of file __init__.py.
| ExpireCacheSQLite searx.enginelib.ENGINES_CACHE |
Definition at line 44 of file __init__.py.