🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

gllm-datastore-binary

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gllm-datastore-binary

A library containing data store components for Gen AI applications.

0.0.16
PyPI
Maintainers
1

GLLM Datastore

Description

A library for managing data stores for Gen AI applications.

Installation

  • Python v3.11 or above:

You can install Python using Miniconda.

  • Make sure you're in the base conda environment:
conda activate

You can install Poetry using cURL (you need Python to install Poetry):

curl -sSL https://install.python-poetry.org | python3 -
  • Install the library using Poetry:
# Latest
poetry add "git+ssh://git@github.com/GDP-ADMIN/gen-ai-internal.git#subdirectory=libs/gllm-datastore"

# Specific version
poetry add "git+ssh://git@github.com/GDP-ADMIN/gen-ai-internal.git@gllm_datastore-v0.0.1-beta.1#subdirectory=libs/gllm-datastore"

# Specific Branch Name
poetry add "git+ssh://git@github.com/GDP-ADMIN/gen-ai-internal.git@<BRANCH NAME>#subdirectory=libs/gllm-datastore"

# With extra dependencies
poetry add "git+ssh://git@github.com/GDP-ADMIN/gen-ai-internal.git#subdirectory=libs/gllm-datastore" --extras "extra1 extra2"
  • At this step, you can deactivate Miniconda environment as Poetry will create and manage its own virtual environment for you.
conda deactivate

Managing Dependencies

  • Go to root folder of gllm-datastore module, e.g. cd libs/gllm-datastore.
  • Run poetry shell to create a virtual environment.
  • Run poetry lock to create a lock file if you haven't done it yet.
  • Run poetry install to install the gllm-datastore requirements for the first time.
  • Run poetry update if you update any dependency module version at pyproject.toml.

Contributing

Please refer to this Python Style Guide to get information about code style, documentation standard, and SCA that you need to use when contributing to this project

  • Activate pre-commit hooks using pre-commit install
  • Run poetry shell to create a virtual environment.
  • Run poetry lock to create a lock file if you haven't done it yet.
  • Run poetry install to install the gllm-datastore requirements for the first time.
  • Run which python to get the path to be referenced at Visual Studio Code interpreter path (Ctrl+Shift+P or Cmd+Shift+P)
  • Try running the unit test to see if it's working:
poetry run pytest -s tests/unit_tests/

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts