Skip to content

This repo should include all utilities that are used by the different cloud functions we have set up for global search.

Notifications You must be signed in to change notification settings

weshare-umigmbh/global-search-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python utility library for GlobalSearch

GlobalSearch utils includes utility functions for that are used by several ingest endpoints of GlobalSearch

Quick Start

Installation

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.

Supported Python Versions

Python >= 3.9

Mac/Linux

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

Windows

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).

Install modules from feature branches

pip install -e git+ssh://[email protected]/weshare-umigmbh/global-search-utils.git@<your-branch>#egg=globalsearch-utils

Example Usage

from globalsearch.utils.elastic_client import get_elastic_client
client = get_elastic_client()

About

This repo should include all utilities that are used by the different cloud functions we have set up for global search.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages