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.23b1-cp313-cp313-manylinux_2_31_x86_64.whl (696.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.23b1-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (453.7 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.23b1-cp313-cp313-macosx_11_0_x86_64.macosx_13_0_x86_64.whl (576.4 kB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64macOS 13.0+ x86-64

gllm_core_binary-0.3.23b1-cp312-cp312-manylinux_2_31_x86_64.whl (699.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.23b1-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (452.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.23b1-cp312-cp312-macosx_11_0_x86_64.macosx_13_0_x86_64.whl (576.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64macOS 13.0+ x86-64

gllm_core_binary-0.3.23b1-cp312-cp312-macosx_11_0_universal2.whl (452.4 kB view details)

Uploaded CPython 3.12macOS 11.0+ universal2 (ARM64, x86-64)

gllm_core_binary-0.3.23b1-cp311-cp311-manylinux_2_31_x86_64.whl (638.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.23b1-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (449.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.23b1-cp311-cp311-macosx_11_0_x86_64.macosx_13_0_x86_64.whl (555.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64macOS 13.0+ x86-64

File details

Details for the file gllm_core_binary-0.3.23b1-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1ca7d412186a2c594f21518a56669eb251b50eb4d55469c0f1b8175bcbd8a645
MD5 5234337721da670419b0072240c1e2a9
BLAKE2b-256 bbf0f79f3ec31008b44602acf8b1f5ad3c5ce47d9e79702a4728c3553f388f84

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.23b1-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b1-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 05bd117deca2d1580ee7ce4ecdf413d9d74c4dff2c668ce061da8098efc1df24
MD5 ea687e6a040d65042b3ce0c8d609ecb3
BLAKE2b-256 2c2cb48b423ef9035f4806cedb78c63f68bd5fc281e701eec7258e404a366e7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23b1-cp313-cp313-macosx_13_0_arm64.macosx_15_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.23b1-cp313-cp313-macosx_11_0_x86_64.macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b1-cp313-cp313-macosx_11_0_x86_64.macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d37b629758667ab8e855259090798a42bfd9a2c3edf509e8a4d8363e82e21d56
MD5 a78e02ff370a8af3eb5f5346e9bcc1b6
BLAKE2b-256 9b1827abc4c5a5d49105cd27fa0d935a522a8949279c286daa05e1a87559572d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23b1-cp313-cp313-macosx_11_0_x86_64.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.23b1-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f92e4e9cced386f01f95c944f002efaf5bd76f80e8979006268f0e693171943a
MD5 87522ba306b6d16542a7cf96577189a5
BLAKE2b-256 34e2f2e5325dc69424536243bbe4724195fde3b982aeae5f52efc78fe759fca8

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.23b1-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b1-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f91f9a9607fd277347f7d14b3efbb7438ee8ba962c5c31b103ec3466baab8eb7
MD5 3fd5779715fe9c6c68dbec073b6458e0
BLAKE2b-256 da218537990515f9dc48fd83070130af2caa1f0f4f58b99c505d09ce30bc4030

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23b1-cp312-cp312-macosx_13_0_arm64.macosx_15_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.23b1-cp312-cp312-macosx_11_0_x86_64.macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b1-cp312-cp312-macosx_11_0_x86_64.macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dc0d77d1793e085f4d51b39aa4bac31b311e0d7a03b38e7de7669d57c71892be
MD5 c9ee9e83da60abb8e260cad288107e54
BLAKE2b-256 2bfb79b36806cb0fdb1d7022c74d10228d2f2ed91228e700e3e51d89a4800c02

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23b1-cp312-cp312-macosx_11_0_x86_64.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.23b1-cp312-cp312-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b1-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 065c05e296a8d0811bb2b432d359e5bd529b8adeaee54611542e65526734778e
MD5 37886cd6f1ac793bc62f4e6ac0dc8adb
BLAKE2b-256 e3a6616c068d82082ce1c436ea51ef56ae064f97d7ef37d1c65c114669046eb5

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23b1-cp312-cp312-macosx_11_0_universal2.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.23b1-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 78c7bb4cdddef747e800da4d5e90226fe8059b099e33fc984dc98b79feceb80c
MD5 3ecf5157ff7bfb50f4016e3a75e1af4a
BLAKE2b-256 51ca76d8be0f4e20a96a2dac1ef837ae98bc5dadd8d583ac967b2b27c190939c

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.23b1-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b1-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 eabb00459bcd85072f2114b894bbab987777059964fd6505c2de325da126b521
MD5 fbac568a9a171e7f13e9fa330655b71f
BLAKE2b-256 49f9b51a1033781c259cd3711403c4b41511a7ac7991a7a830a0c87bb0e79297

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23b1-cp311-cp311-macosx_13_0_arm64.macosx_15_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.23b1-cp311-cp311-macosx_11_0_x86_64.macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b1-cp311-cp311-macosx_11_0_x86_64.macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 51b168969e1e563a19e22859fdf34cb556e64b2fe966d0176f8cf474c2c7ebbe
MD5 b7dd07b9b0e5ca823a8da208c64669fb
BLAKE2b-256 edf825bb61b93a7949f2f557b8f76b850bb9cda7e00419d2a163f38f19be59a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23b1-cp311-cp311-macosx_11_0_x86_64.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.

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