.oO SearXNG Developer Documentation Oo.
|
Functions | |
subprocess_run (args, **kwargs) | |
get_git_url_and_branch () | |
get_git_version () | |
Variables | |
str | VERSION_STRING = "1.0.0" |
str | VERSION_TAG = "1.0.0" |
str | GIT_URL = "unknow" |
str | GIT_BRANCH = "unknow" |
logger = logging.getLogger("searx") | |
dict | SUBPROCESS_RUN_ENV |
vf = importlib.import_module('searx.version_frozen') | |
DOCKER_TAG | |
str | python_code |
encoding | |
str | shell_code |
searx.version.get_git_url_and_branch | ( | ) |
Definition at line 43 of file version.py.
References searx.version.subprocess_run().
searx.version.get_git_version | ( | ) |
Definition at line 60 of file version.py.
References searx.version.subprocess_run().
searx.version.subprocess_run | ( | args, | |
** | kwargs ) |
Call :py:func:`subprocess.run` and return (striped) stdout. If returncode is non-zero, raise a :py:func:`subprocess.CalledProcessError`.
Definition at line 26 of file version.py.
Referenced by searx.version.get_git_url_and_branch(), and searx.version.get_git_version().
searx.version.DOCKER_TAG |
Definition at line 81 of file version.py.
searx.version.encoding |
Definition at line 119 of file version.py.
searx.version.GIT_BRANCH = "unknow" |
Definition at line 15 of file version.py.
searx.version.GIT_URL = "unknow" |
Definition at line 14 of file version.py.
searx.version.logger = logging.getLogger("searx") |
Definition at line 17 of file version.py.
str searx.version.python_code |
Definition at line 109 of file version.py.
str searx.version.shell_code |
Definition at line 125 of file version.py.
dict searx.version.SUBPROCESS_RUN_ENV |
Definition at line 19 of file version.py.
searx.version.VERSION_STRING = "1.0.0" |
Definition at line 12 of file version.py.
searx.version.VERSION_TAG = "1.0.0" |
Definition at line 13 of file version.py.
searx.version.vf = importlib.import_module('searx.version_frozen') |
Definition at line 80 of file version.py.