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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.38-cp313-cp313-manylinux_2_31_x86_64.whl (990.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.38-cp313-cp313-macosx_13_0_arm64.whl (710.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.38-cp312-cp312-win_amd64.whl (654.1 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.38-cp312-cp312-manylinux_2_31_x86_64.whl (988.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.38-cp312-cp312-macosx_13_0_arm64.whl (706.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.38-cp311-cp311-win_amd64.whl (679.5 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.38-cp311-cp311-manylinux_2_31_x86_64.whl (903.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.38-cp311-cp311-macosx_13_0_arm64.whl (699.3 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.38-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2851042cbe15d8176b3078942a8c7344247c9e50e98785c766ac9b2630855a58
MD5 1f49ec44690a463f3890c07547bf419f
BLAKE2b-256 1baefb6dec926259755c03a7ba0a2e6e9d91654042562e68d4ded570baebac37

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.38-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4087be0c2e9c89af5c2662993b32e63318427c911521b3251a1dec7758fe9948
MD5 08f163445d3cec6bc3a7a2e9760dd862
BLAKE2b-256 13dbbf3d4187f11f31b378f1a57b851b4f115f7826f212fff287698b13f546a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.38-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ac356cbce2c12d4d6f93ef58bc1bfc57512ef9410364ae5119f6ed31ef309566
MD5 7e3b338e8482838540a0ab28a3c7b940
BLAKE2b-256 5ce16ee828b51aec695777ed08077dfca56bab404e71bc4570513fe184a041c3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.38-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 10d992cbc57582c034701de95b44da560059153d88c45d63f8be881fe5e2d64d
MD5 311e847add94c50b46ddda0030e83733
BLAKE2b-256 e175f917c1f4803acabde4e9bdac77fd28eb693e30c69e98de278416ff8393c5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.38-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c9ca40a64f8587af1da551c9012fcfa007624edb9af91b9bda0e1ced11bd30b6
MD5 22920ce8cb70cd03f255d1e14a5b08da
BLAKE2b-256 b4e78db22629d2882606003ae193ae0998aa00b6a2db5d96aec3ab1bcfe35f4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.38-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 024b6aa9c747f6c04de479eda1696cf0797dfcfbbfc3e363422f38a8dcfdf2b3
MD5 27c772b85ebf5cedd7f8b7608a9b1e4c
BLAKE2b-256 d155c3ccc5d8ff42db273acd646a84919149c0b14d67086e21e97fdcc8ab8cd5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.38-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d8469c6d0772daab77040d97d448aabb381a2270c32e9d011336eb92612ceedc
MD5 33f0d778ad558188818b93cf5c5c00da
BLAKE2b-256 f8393b426a76fbc3e82c55bbc58d1e0f520340a5486f6a5886292409bcd55a71

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.38-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 bcf0c54d07134aadd73662fbed1d1e68040552aceb133959d9299facf9439ff7
MD5 131292679c8a1da0cb069ab8ad803dab
BLAKE2b-256 30a2d7355859cbd0a3336a8641f43c78593993dc5f2d61787c43566ea325a1d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.38-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d7e13b35bd6da52cd5a88ada9522cb216d48b10f6e6778aef750944f5459959b
MD5 af0b8f705fc1eb6ea522b535b9e17b2d
BLAKE2b-256 a95bfe9311f8fe89bc849a1fea9ed02df7ef0835b799d05078113f089149ca34

See more details on using hashes here.

Provenance

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