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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.43-cp313-cp313-manylinux_2_31_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.43-cp313-cp313-macosx_13_0_arm64.whl (767.1 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.43-cp312-cp312-win_amd64.whl (705.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.43-cp312-cp312-manylinux_2_31_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.43-cp312-cp312-macosx_13_0_arm64.whl (763.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.43-cp311-cp311-win_amd64.whl (732.3 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.43-cp311-cp311-manylinux_2_31_x86_64.whl (972.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.43-cp311-cp311-macosx_13_0_arm64.whl (755.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.43-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8130e5f65a0c60eaa0a9c3f650b107f507dc8d71e105866a589ad402f3df000b
MD5 bc12f802b0bfad263661060bcedf3c36
BLAKE2b-256 8107cb51b81de4c25f25b488a954811335ad1083a0aab6014877c517a869cce1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.43-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 539aa101e76b6832e65bf7e18c2075d399fdffb2451cc43450c981dbf922d41e
MD5 300ef5b6ca69b57d9762565327302732
BLAKE2b-256 9c3b58b5a44985a7195ea470e43697544285e5d42d792c5c9794a59bdcbee374

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.43-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d764315494c23f2e160bbeb9b3c1a33e5b576e5dfe0cc1fd4002b3bdeb040eb3
MD5 73d8a27473bea0f59681d90d914bb160
BLAKE2b-256 be097e1d67b202b73fa5b3c31e48cac4c9382fc7d1121e03137b63caa04fa5f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.43-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d0da27cf9e29626b4c374d7f8a294e902bd6e6f60b31ccea39b7e6763b58b2da
MD5 a8859ce3c650d2dd57694bc334b9a1c9
BLAKE2b-256 2575c0e0b39f9b452185d44afb4214d1f68f3916178a53a9e369ae72289463a8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.43-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 035f7703dc31430ff947f5b6d64682d9de5e1d8bad2bacafaac4a0a24a3bdf31
MD5 001c625287720f47adfa8d652d1b06f6
BLAKE2b-256 882e33f62c7716f9d0c5c5038e1ccda8c91a78cbc8da486f3d5da73df28004bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.43-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6fdea45d573609aa1af44baf351ad77f763c83a7a4fa1a2af37a2c4d56dba091
MD5 c572bb5cf83c088353980e0350af7203
BLAKE2b-256 d336b38324d6a0dac8fa9f191cc5210a1f552a9247cc4992f339aefc57c09d98

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.43-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 bf5fa158cf0c2359c31137dc459956e531071b7b12783e513f6e8a4bf3e08daf
MD5 d345d3b2adfb6a28a8619e6e0347ef9f
BLAKE2b-256 0fec97cfd45d1b4154637b5167e865dabe2f4cabf661c359202ed583db7dd84c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.43-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8373e161dcea79d7251ef0d1a5c3e250c08536ffd73e43309a022efca7f53eef
MD5 aa7f636d6bccf39c73012f235756d081
BLAKE2b-256 1e69b2eaf4e53845775609984bcc09414bca684afe4ad2f3cf2c7633381ef223

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.43-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f7ec84a09a88eb50a7600f56071322f7d5235c873d2843701d93dc13bdb93443
MD5 cd2bb1f553f7807f05fbf6a5d6086b3c
BLAKE2b-256 733084fcf88a48a5963ee6d309a77a865315a1a796c0ee639adbde8dd2f99196

See more details on using hashes here.

Provenance

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