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.4.2-cp313-cp313-win_amd64.whl (527.1 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.2-cp313-cp313-manylinux_2_31_x86_64.whl (770.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.2-cp313-cp313-macosx_13_0_x86_64.whl (606.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.4.2-cp313-cp313-macosx_13_0_arm64.whl (519.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.2-cp312-cp312-win_amd64.whl (529.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.2-cp312-cp312-manylinux_2_31_x86_64.whl (771.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.2-cp312-cp312-macosx_13_0_x86_64.whl (605.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.4.2-cp312-cp312-macosx_13_0_arm64.whl (519.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.2-cp311-cp311-win_amd64.whl (541.2 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.2-cp311-cp311-manylinux_2_31_x86_64.whl (703.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.2-cp311-cp311-macosx_13_0_x86_64.whl (605.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.4.2-cp311-cp311-macosx_13_0_arm64.whl (516.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d4920d39ee4390d2cf3641dd10bf9edbfa8802ab244baea2a6796937d491b3b0
MD5 b3f7a2f05543310ea0374c3b703c9f5a
BLAKE2b-256 3731820995ce85863bb71c328a0dcd23c0dc8bc44b7a93c986353fc43d0d2cb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.2-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.4.2-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2b4c6163cef1ad5c0d0ce6a652d038f211cfd4b1f2d307949f632271c95d8337
MD5 37287b922ad2bca6177e241b64b98714
BLAKE2b-256 38da16a5aff2d66745c87ed6efc096050c37e4cd1b3531df84e0892359533f57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1f6156052dc3aba26519643cc7ee711cb458dec8a6494ae71e2429b4cd8c4034
MD5 f7542fa20fcb99b08c4b017cea3f1f9b
BLAKE2b-256 dbfe077ebce4432d92197b9d187aad3129acb45f81ee8451e85650d7e77551db

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.2-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.4.2-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 42525d2454417e03cd8adbe223057436f280560eea2b0b42a3eb489eac236892
MD5 aef023b4a8448c960b6cf387ccb098b7
BLAKE2b-256 1363a4cffab05561d3ace2ec5fa3e49ad980a3ff6fe1745e4aba2ceda0802cf5

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.2-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.4.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4f7c935281a713bda5009f68a747e8dc9a6f9bcd7d9d6f873eebfa8e9c670d8d
MD5 eaedb91eafd172099245c2a5c0b055e7
BLAKE2b-256 f95bcc42f9d176b46427756ec819214c824814f883c1a3b40c9867a271a32693

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.2-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.4.2-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 971d7f2ac5c7c288ba3e674ae86ca04849a52555a75cf27b54f10c9872011332
MD5 d6eb0d47a1bae43c4dca3a3030b572da
BLAKE2b-256 a69b09e07757ba6632ebb3512b209e0391259606252a250066d87d44a5f25905

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ab735d011354092e435d56daee2a9a5ba98b0fa4f2dd8f32676206e16e92bb48
MD5 6887db82b3b95c3ded37d019484c4d83
BLAKE2b-256 9dc00e9c6b52343d71ef83e133e995f9b744e2cca83ecb0039de6709afd85f4d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.2-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.4.2-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 86a814bdabc7dd8c668317feb9b4c076bc144ef6f041cbb6f47cb3581913b296
MD5 118ab8e2e2e8136d821ea89e786d80ec
BLAKE2b-256 9c15f964032bc4871c1f793ce61fb95d15d7add9055e054809d1537bfb6d4c10

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.2-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.4.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b1d3eb71de2757fb17f98c13367da7b73cbfc3c06502e7e42d4c045ae8c1e33d
MD5 72f08dfb842a9d8a800e0f49dbec942a
BLAKE2b-256 c321235e9d8e58bf88e7840a85510abb7c91cb4f6813213e371594cb56a16e2a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.2-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.4.2-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 54294c90fdbc87c83c1447757ad07f431cbcbc91eef550e95b0bd090c2a7022f
MD5 af4dd2aa7f56bca3858b1d8979953824
BLAKE2b-256 fb3c1ec6a93d1a80e6e425f564be9b270e8fa4c039143e051eca75f44b4d7009

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 63063e81e29ef639c400c0cf32887ccbb8332c34f7369cdff5e5b71bc59f355c
MD5 9355d38d81af965dcdf38cc7921ba3ec
BLAKE2b-256 b7af524ca78952245b1d2173672fb827c1d519d4cde71f6a8674883dd0b4838b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.2-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.4.2-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e05343fda07406e2a59c303c6cf2cad46b7905f6aae9d256d754eefeffba86d0
MD5 140ce5b3eadae7fcabf8e1bb3f0618bc
BLAKE2b-256 a333fc8683cbc9abab97a10a2033118665e881cd49b2081da803aa74ca7c39af

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.2-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