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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.39-cp313-cp313-manylinux_2_31_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.39-cp313-cp313-macosx_13_0_arm64.whl (719.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.39-cp312-cp312-win_amd64.whl (662.0 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.39-cp312-cp312-manylinux_2_31_x86_64.whl (999.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.39-cp312-cp312-macosx_13_0_arm64.whl (716.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.39-cp311-cp311-win_amd64.whl (688.0 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.39-cp311-cp311-manylinux_2_31_x86_64.whl (913.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.39-cp311-cp311-macosx_13_0_arm64.whl (708.1 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.39-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ec4db61d0eb8affea1cb758f2529465ca5adff4506313a7dcc728a341df41aca
MD5 c4a3448eb280917f017ee1d412cf2c56
BLAKE2b-256 4e3bafdff629b7409ff8831593f42078dd6a814630a04dfda576a2f4696c8df4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.39-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c43c8742a335b3a6751142385bcafa53e4c4ed3be3881e2ab4e3f33a24231c63
MD5 298c7ed18499f78200f5593d4a6c9975
BLAKE2b-256 a74b8081bd373aa691862a9eb9459b91aba555f98d5350f2548273c4e9bc3983

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.39-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0df14a0a4e3685ba966a75cdd0440868c190268711cd0056502fa8e511bd3c3f
MD5 fb164dffb21465bb0999d229e0b44fa7
BLAKE2b-256 80c13564cf4bb7f6ff19bb60ebf3d6b06134fcaf44806fb8ecd34fdd2975edc3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.39-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ea7e26c592a73ef705a57cd8e2933a3f452dad5e17528b159f96b1d8c1e17dc7
MD5 acfdd0da7db3b060570c36aea71c6d34
BLAKE2b-256 d91a4b2339976ab8bd10627458206d2e0d8a69645f18992a909e33d6f5f639cf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.39-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a50b51aef65d7c34cd657c6738f529e1d7b87750442ae3d47553755ee4cc734f
MD5 d7a3f12d37e63c7ab63f1626a4a00916
BLAKE2b-256 14c4774dce8695576d3d101854b4a47f755a2cfa8d70a928721cc370dec247e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.39-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ae82ca62c3a0aa366d876601ded941d732e5ee48c3b54ccb3a68b8a10c4ee910
MD5 a8f23decb263205064fde7f64c164ee0
BLAKE2b-256 d061e8b29d3351482f411dbc1dea278fc22970c0799423735d32655e5f17e5a3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.39-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 284688afbd487dfb39d6071efc7cda6cd3c0ecc5af0a9e0d4536a5d86c3720b6
MD5 45531317aa929337e401bb82d46e4369
BLAKE2b-256 e30714a1757c48a86b200cff4b8c4f374d38199098e5f0cd1075c82be8566066

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.39-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5761501c6517584ecf9dedb4912e356f1d35eaf3c2280366256b81e4f46b5e42
MD5 f277b7e2664c50079b695a8afbbb2e2f
BLAKE2b-256 7b2e2ef0a4116713cfdd2f2d5baf353a7113e301baa705f75132673122dd83d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.39-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8ed02539946f8e9362e73d3b37e639a42451b918c7f55d7172bcf47e39d7cf19
MD5 a42237c55578d5c27e632688ebdcc19d
BLAKE2b-256 d4ff460dc73b13e4537dbb6d736db9befaaf5d31304b8aeb56568c3d382c0d39

See more details on using hashes here.

Provenance

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