Skip to main content

A library containing core components for Gen AI applications.

Project description

GLLM Core

Description

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

Installation

Prerequisites

  1. Python 3.11+ - Install here
  2. Pip (if using Pip) - Install here
  3. Poetry 2.1.4+ - Install here
  4. Git (if using Git) - Install here
  5. gcloud CLI (for authentication) - Install here
  6. For git installation, access to the GDP Labs SDK github repository

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:

git clone git@github.com:GDP-ADMIN/gl-sdk.git
cd gl-sdk/libs/gllm-core

Local Development Setup

Quick Setup (Recommended)

For local development with editable gllm packages, use the provided Makefile:

# Complete setup: installs Poetry, configures auth, installs packages, sets up pre-commit
make setup

The following are the available Makefile targets:

  1. make setup - Complete development setup (recommended for new developers)
  2. make install-poetry - Install or upgrade Poetry to the latest version
  3. make auth - Configure authentication for internal repositories
  4. make install - Install all dependencies
  5. make install-pre-commit - Set up pre-commit hooks
  6. make update - Update dependencies

Manual Development Setup (Legacy)

If you prefer to manage dependencies manually:

  1. Go to root folder of gllm-core module, e.g. cd libs/gllm-core.
  2. Run poetry shell to create a virtual environment.
  3. Run poetry lock to create a lock file if you haven't done it yet.
  4. Run poetry install to install the gllm-core requirements for the first time.
  5. 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

Getting Started with Development

  1. Clone the repository and navigate to the gllm-core directory
  2. Run make setup to set up your development environment
  3. Run which python to get the path to be referenced at Visual Studio Code interpreter path (Ctrl+Shift+P or Cmd+Shift+P)
  4. Try running the unit test to see if it's working:
poetry run pytest -s tests/unit_tests/
  1. When you want to update the dependencies, run make update

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gllm_core_binary-0.3.31-cp313-cp313-win_amd64.whl (502.1 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.31-cp313-cp313-manylinux_2_31_x86_64.whl (730.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.31-cp313-cp313-macosx_13_0_x86_64.whl (568.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.3.31-cp313-cp313-macosx_13_0_arm64.whl (484.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.3.31-cp312-cp312-win_amd64.whl (504.2 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.31-cp312-cp312-manylinux_2_31_x86_64.whl (731.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.31-cp312-cp312-macosx_13_0_x86_64.whl (568.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.3.31-cp312-cp312-macosx_13_0_arm64.whl (484.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.3.31-cp311-cp311-win_amd64.whl (514.2 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.31-cp311-cp311-manylinux_2_31_x86_64.whl (668.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.31-cp311-cp311-macosx_13_0_x86_64.whl (567.1 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.3.31-cp311-cp311-macosx_13_0_arm64.whl (479.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_core_binary-0.3.31-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.31-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c08e068deabd9d767afebf8c1c29ca3fd1d30b037ea80205e29cdbde5b6664ab
MD5 e7aa6968f3c9f526d25ea4db6f16c46d
BLAKE2b-256 8a958a24833843969ceae9cb1c9e268a7fa7407e53c33e89d9b38bd7f0f1d7fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.31-cp313-cp313-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.3.31-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.31-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 40ea11b3aecc038c8998810cece80394201b9fe036b4fda7b401b5efe3faae1c
MD5 71580dc1ca7d0c67e1a9f8ca91dd4af3
BLAKE2b-256 56df657b7d194af676d13a4b22ebe2b14673d2392e807c6283bcb3b597315834

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.31-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.31-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 26df6650f12ea89451000578a0d82ceb8f162704632d6693a80122ea52af1a96
MD5 4c6cf26edd90ca0518935ced8aaf04d6
BLAKE2b-256 c6805a36e819cac24f418c956db335a5273335868535dcb5690b1c779da35f5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.31-cp313-cp313-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.3.31-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.31-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 75f513d7b5f39598659c584058231fff37954d00472b1989778e0b069691c6b7
MD5 7e98bf8bdd9055b7434f01eb8fbf0a70
BLAKE2b-256 6a71bef0f06f2a722ec24c2895cc4d45028defda8a9f0eae4f4e8f69be464b60

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.31-cp313-cp313-macosx_13_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.3.31-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.31-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 698c1b2b78c9e80b69dc7894348eaecec4509d2ebe0dab9743f17369c4bfb624
MD5 fa022c84a4f45743e9016211e569277e
BLAKE2b-256 cd1455c6e056125c099458b44fb7bbc83ce2d07c8762ce223332a2c06c24de91

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.31-cp312-cp312-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.3.31-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.31-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 523b010d59af32b73ec391d0b81cde99ae6642b565459bf1002db0593e74f5f5
MD5 f9bf88a64d62ce37cb8d7e0a8c8706f2
BLAKE2b-256 908fec70212713cbd87cb2936343cbd748258ea9098ef788b905ceb36fd48bb0

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.31-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.31-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 40acd0dd1dcfc0f825bcf2f56376df3edec493ae6f9a9c6fb9cb00b2bcd2413d
MD5 2ba3c70a97335b88a0dd8e6b883b06f0
BLAKE2b-256 0fefc4f38e6a1c43a6bd2c242c37b55ee35e795683c0c8e46a2cf8550d9c594b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.31-cp312-cp312-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.3.31-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.31-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3ff6af4610d2a00f3740840048972c02bcb0a7f21f2f30c933bfdd5899f3b377
MD5 464fb526587d4697a3b3298c0293933a
BLAKE2b-256 53518727148c182caf289c6d362616ffae9483a577170f7a5ea77d2e3c268704

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.31-cp312-cp312-macosx_13_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.3.31-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.31-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3fb2d2b0114ae37fac643cd676d2ffbe5dd785cbd10098e6c622bf49bd2b9ea0
MD5 ff81ff49ae4d37670cff97fa2f81f10e
BLAKE2b-256 0001bb08b0f6ba61b1edf6f64c2955f4ed3aedcfbaa8b7c83f6807f345759ca9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.31-cp311-cp311-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.3.31-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.31-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4946a832bcfed81a363095ce50e1474dc978f75c8d9f253f5d47a53ceac4a743
MD5 6da050397a26b3760902030beb17dfe8
BLAKE2b-256 57d2685e3ed9e79573fe4526295a127e8302a92c9667ea60d94f17892d80dd08

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.31-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.31-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 13e1fa3d5deff85bbafad572d6611901b05c9f489a755e04ee3209b9e722bb16
MD5 2fb16c03651e6947a42f5a6f49cf0988
BLAKE2b-256 6fe3a2b5b4dfad443a10351a92b960b29ce2471702c751c21cf116acf2b2ac9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.31-cp311-cp311-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.3.31-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.31-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2ca50c169a710bb258ca7891d3ec359ba755dbd75479156ca24ef2447e529ff1
MD5 4ddc502a874c3f24e2c0813874414b23
BLAKE2b-256 76d5744074e18be87d89fc230fe0d116a1a6b45b483e649baeb0b08b7d5361f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.31-cp311-cp311-macosx_13_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page