Skip to main content

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.

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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.36-cp313-cp313-manylinux_2_31_x86_64.whl (973.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.36-cp313-cp313-macosx_13_0_arm64.whl (696.5 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.36-cp312-cp312-win_amd64.whl (642.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.36-cp312-cp312-manylinux_2_31_x86_64.whl (971.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.36-cp312-cp312-macosx_13_0_arm64.whl (693.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.36-cp311-cp311-win_amd64.whl (666.3 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.36-cp311-cp311-manylinux_2_31_x86_64.whl (886.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.36-cp311-cp311-macosx_13_0_arm64.whl (687.1 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.36-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e66dbe8bb3e7ff2c30db1f19d0df22f9934055bcf541f19237fa6fa562113b6c
MD5 e7afca12136a43b437f0ba378c5a4e98
BLAKE2b-256 39c929628ea01bf0479ec12bb0dc1b68656e103b9ef4b696b246523be503313e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.36-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 01df9ca9c1021ea7d4741fb0cf01310f25737a26c883a41bca9f8c2178b67b13
MD5 645a0dfab7d393e3a05ed8a7bb670bb3
BLAKE2b-256 bccd9320e6ee43286b2e798797f4d12b122ab3e6b9a9198174411e915c1ffb5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.36-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ce6cdfb9c45ee6ae081437733a693f4d088d21085d334f97aae8d5f6d46a3e61
MD5 8f77333f758e0f1e266ebbf232eeb571
BLAKE2b-256 36e1d7c25362c5dee70f14313ef8c4a086c209ee57a6edebeb103bc2cd9ad245

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.36-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f432a1400d9c3cc24472552c2e72dae15b21976ac4e8df0eff3d0d643a9700b3
MD5 c87f4ac23cce17d64fc72722bb29794e
BLAKE2b-256 8ee313119a3d1731a1dcdf770fe2405655db046cd8bb3ce218e9c0bea33c077b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.36-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 928d3cf11f3b4753621ba9fbe500f4982b7073ee1bc5a7cde37f77f012014dc7
MD5 eacb13e1bada209c817bf4afabd0ea34
BLAKE2b-256 3062a3bdb570394427cd7ef6aba80326e93c5d2778b46c51707c1b38e69cf0d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.36-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ec00e068d14ab38f4dafc9994d86e77cb55b4ae542d75e48881dd86b4b056168
MD5 ea4528f4e6f233e22bb04d660235f474
BLAKE2b-256 cdaf57385044536f0ddb13ae09e315a3fab7202024f358c6dd4441ebfcd3b4d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.36-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 bf1b689fd2e4c35e3f6f3c6f5a9d546ce1f943d3380e7afd6a8912b38b20b977
MD5 4ebccbeb30a047784af75560f716e480
BLAKE2b-256 251929e7561002995dd6e910e391ea8bf95e371816cd1c0d92fe922a84732453

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.36-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3d1fb9bf7779ae69b0d39388689af7c5f71198916d9ab4a44b1e06f3fe2ed67a
MD5 317ca7e4604479884076b9de26d391ec
BLAKE2b-256 18a6b86a2edfff1587dd947b47b8c976a80af5b11fbcd755da4658272da549c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.36-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f91283bf3057dfe4dc6d893007182b04ddd8c9113a199d311c0a1cb409b9670b
MD5 bc87f3000ffc4ee84b7725b43a091298
BLAKE2b-256 eb3c014928718e5050cda75eb4401b30fed294adb249590d3ca1ecabfc0aa54d

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

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