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

Mandatory:

  1. Python 3.11+ — Install here
  2. pip — Install here
  3. uv — Install here

Extras (required only for Artifact Registry installations):

  1. gcloud CLI (for authentication) — Install here, then log in using:
    gcloud auth login
    

Option 1: Install from Artifact Registry

This option requires authentication via the gcloud CLI.

uv pip install \
  --extra-index-url "https://oauth2accesstoken:$(gcloud auth print-access-token)@glsdk.gdplabs.id/gen-ai-internal/simple/" \
  gllm-core

Option 2: Install from PyPI

This option requires no authentication. However, it installs the binary wheel version of the package, which is fully usable but does not include source code.

uv pip install gllm-core-binary

Local Development Setup

Prerequisites

  1. Python 3.11+ — Install here

  2. pip — Install here

  3. uv — Install here

  4. gcloud CLI — Install here, then log in using:

    gcloud auth login
    
  5. Git — Install here

  6. Access to the GDP Labs SDK GitHub repository


1. Clone Repository

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

2. Setup Authentication

Set the following environment variables to authenticate with internal package indexes:

export UV_INDEX_GEN_AI_INTERNAL_USERNAME=oauth2accesstoken
export UV_INDEX_GEN_AI_INTERNAL_PASSWORD="$(gcloud auth print-access-token)"
export UV_INDEX_GEN_AI_USERNAME=oauth2accesstoken
export UV_INDEX_GEN_AI_PASSWORD="$(gcloud auth print-access-token)"

3. Quick Setup

Run:

make setup

4. Activate Virtual Environment

source .venv/bin/activate

Local Development Utilities

The following Makefile commands are available for quick operations:

Install uv

make install-uv

Install Pre-Commit

make install-pre-commit

Install Dependencies

make install

Update Dependencies

make update

Run Tests

make test

Contributing

Please refer to the Python Style Guide for information about code style, documentation standards, and SCA requirements.

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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.16-cp313-cp313-manylinux_2_31_x86_64.whl (802.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.16-cp313-cp313-macosx_13_0_arm64.whl (545.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.16-cp312-cp312-win_amd64.whl (551.5 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.16-cp312-cp312-manylinux_2_31_x86_64.whl (802.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.16-cp312-cp312-macosx_13_0_arm64.whl (544.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.16-cp311-cp311-win_amd64.whl (566.2 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.16-cp311-cp311-manylinux_2_31_x86_64.whl (731.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.16-cp311-cp311-macosx_13_0_arm64.whl (538.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.16-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7f9fd581744e6f1b46c6818177abd0d7b2a8f435dacd3e93fc778c6a285cea90
MD5 0216766344bac025c94ffa2a12236f4c
BLAKE2b-256 dc1311bada2658384e27b47e4f43601c049c1587a5374ba511ad0d6f9315a63a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.16-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 91dea83dc3174b553f80a7bcd13878abfd8e0098e87505efc5048f4d83a315f3
MD5 c47f140526bb538ad96187aeebbca1f1
BLAKE2b-256 3dd9a30f91f3ddc5e47d7394fcd46770f344e0e1cada26181bfd6b7a953b8827

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.16-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 92f76e656ca1605e4befd22130cba1ed2148a3d1c936b0b13073256f8edfe170
MD5 6fd6800cb6d69009c76d5241bd66aefa
BLAKE2b-256 d4c61b6b818c8c90e0052e4b419b50fe84e6d9468530e0e3f8f666704c6f26c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.16-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2b5689f0770351935928d409aafb1dab94c4eef9aaf4a0f75ca2fc642b877c2e
MD5 aa66bad17567d9d47a5c9fc41d2c9508
BLAKE2b-256 53271cbfdf41f19a5a3cb1145247100696bdd065bf31345e33b885fea58812c3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.16-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 47fd778f62e2d053a4e8a8d9fa0b8d720090428698fe89d9007d1127178fc2a4
MD5 659497c9a927f300967c13a22a977d70
BLAKE2b-256 09a75767f484ada5b7cdb1b05cbb65c272a21e8e080445a72d3b3c18c6a76ace

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.16-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 60f3f2fc4872c32aee9e17188bc8880ccc151dbb81c6f1de14c62ab58e124f8b
MD5 db7dcc32d64c8f167d65ddedb93402b1
BLAKE2b-256 6b86788f89abbecdbd41a3c92e12c49e8fb1f6b3f3c3c1018ead711245d1863e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.16-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 59143be98326051c611ba6af35292e66660ab5dac8448ae1571bc448ab378ec9
MD5 dc2f8a13eb0adb6ca221367918c8f033
BLAKE2b-256 552915fcc410ec080fb64f25e49e07f4b67e289e9677612564e009aa18878e0b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.16-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3b704f79ae6de4ed9784a7ccba07738457f03a00cd3fc6ef973060972d594990
MD5 ccb2982a8a75c1506842c6c066f9f3f2
BLAKE2b-256 641da88baca29ccd7ae86edeed98d02dec9401cc3985cca0adf9a28088c8bb24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.16-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 17f8b3e184d2ba193f4cb4bbd591f469f0f94f51027a5c9f266f673689e0e260
MD5 8ae698f1324b43c0e87629363b3540e9
BLAKE2b-256 90d89a7720fd3b70ffd0f0b588fb1d6aecf72ee2f4866a6e2a0e984cebbc1234

See more details on using hashes here.

Provenance

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