GlobalSearch utils includes utility functions for that are used by several ingest endpoints of GlobalSearch
Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.
With virtualenv, it's possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.
Python >= 3.9
pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install -e git+ssh://[email protected]/weshare-umigmbh/global-search-utils.git#egg=globalsearch-utils
pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install -e git+ssh://[email protected]/weshare-umigmbh/global-search-utils.git#egg=globalsearch-utils
Try out Git Bash if you're experiencing problems like [email protected]: Permission denied (publickey)
.
pip install -e git+ssh://[email protected]/weshare-umigmbh/global-search-utils.git@<your-branch>#egg=globalsearch-utils
from globalsearch.utils.elastic_client import get_elastic_client
client = get_elastic_client()