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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.44-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.44-cp313-cp313-macosx_13_0_arm64.whl (774.1 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.44-cp312-cp312-win_amd64.whl (713.1 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.44-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.44-cp312-cp312-macosx_13_0_arm64.whl (770.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.44-cp311-cp311-win_amd64.whl (739.1 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.44-cp311-cp311-manylinux_2_31_x86_64.whl (983.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.44-cp311-cp311-macosx_13_0_arm64.whl (761.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.44-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4ee5e4ff5ff446247daeba5a75be7fef2dc969638400e90e3b13a2270f936dc1
MD5 ab34e86b46b065a6f57fb1d722ec12a2
BLAKE2b-256 0b5564a1e3e6cb8bf7dc1309cdac4811d1a120a9494da0000e124cdab52ca60b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.44-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3ec96bbcf40aa4898ad56012be4ee2ac09e0dcbadd30ec90c9f6093c8a7a56b2
MD5 b3ad62664f85f9fa6b36a81912ab93de
BLAKE2b-256 ae87f7ea3c5e4507bee6c4e097c74657e292e1b09e32ba231d4d4f56ad44f6dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.44-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4505956756c66ffee6a780182b508f38cebbb7bc1c524dadbcfed2994b078c93
MD5 bb89bd59f8da0256af8711451a201b68
BLAKE2b-256 d3525249584bc75d6b33d44e37beca6f61d4828d564319c49b02ae3a28e17039

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.44-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d1f433bc013751f3681b72419f0351c5301f314292f68d7a935f6801c8829db7
MD5 f22067c93f25844504fc251e6637cb33
BLAKE2b-256 6d944032fa9dc7fa63d4362ef52589cdc364310ef823783ee454500c6a54ff99

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.44-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 198b920b82ca54e2229e9b54b45120a5ee63ff91df91fe903158757a2577f7a9
MD5 2fdc494d702dab7eaa1b219fc82d9453
BLAKE2b-256 180392af7ca3f899c88fa3d4590b588c2e6a589428fe0ac6003471aa23727aa9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.44-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 949ae041a6de4bf730ad61fb0d3141f2e45d7ebb125f405571687a65b3f73885
MD5 c0319a71f475bd564e5b1d1a345e07fe
BLAKE2b-256 6da5edd215da4a0bdd7e9452f145fc40e7072edfedce31ba00655c879e5cb0fc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.44-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f411e7e54cb170f49d1b0369d45a0f491888562f94028a919e084c0f78ed3400
MD5 dc87881c7682316909921aa48ba5aa88
BLAKE2b-256 600d98bff04390cdd187fe920084118b01b9e9cfd4830e9b75fca4fb6bbeda33

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.44-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c6d491bbae58383f3e026e399521613b2f00efe58dac85ff553ad5033438e118
MD5 dc28493d8a78f4e329e8acb226093074
BLAKE2b-256 f9ccf80c20b1d368efcad47dd9534a1152c12a7d008755f165dd274f21b5c98b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.44-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0f613691013445a049252e43a0e1c1a0881b64b8e61cbac621b3686a3a73eb97
MD5 5329ec0821109b86260621cc7566709b
BLAKE2b-256 fffcfdcebdd64163c3f3807450527f2a7efcbd73cbbc678e1ecce6b94c41a33c

See more details on using hashes here.

Provenance

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