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

gllm-core-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-core-binary

A library containing core components for Gen AI applications.

0.2.17
PyPI
Maintainers
1

GLLM Core

Description

A core library providing foundational components and utilities for Generative AI applications.

Installation

Prerequisites

  • Python 3.11+ - Install here
  • Pip (if using Pip) - Install here
  • Poetry 1.8.1+ (if using Poetry) - Install here
  • Git (if using Git) - Install here
  • For git installation:

1. Installation from Artifact Registry

Choose one of the following methods to install the package:

Using pip

pip install gllm-core-binary

Using Poetry

poetry add gllm-core-binary

2. Development Installation (Git)

For development purposes, you can install directly from the Git repository:

poetry add "git+ssh://git@github.com/GDP-ADMIN/gen-ai-internal.git#subdirectory=libs/gllm-core"

Managing Dependencies

  • Go to root folder of gllm-core module, e.g. cd libs/gllm-core.
  • 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-core 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-core 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