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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.41-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.41-cp313-cp313-macosx_13_0_arm64.whl (741.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.41-cp312-cp312-win_amd64.whl (680.6 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.41-cp312-cp312-manylinux_2_31_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.41-cp312-cp312-macosx_13_0_arm64.whl (738.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.41-cp311-cp311-win_amd64.whl (707.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.41-cp311-cp311-manylinux_2_31_x86_64.whl (941.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.41-cp311-cp311-macosx_13_0_arm64.whl (729.1 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.41-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 74e9edb3359a45beade04a58913d8cbb8d4a1e6780af667708cf9ed6cf9102f2
MD5 a84b6b06e8f686b77b3c5100d7bc27ef
BLAKE2b-256 ba91af59681a7c53e072cdc1065520e7316c1e1abbabb98adfecc50b7daf8d1e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.41-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 73c65b6387f2d3992bb161b2d7e2df45c05feb07f9b3eba2d2e27eb11b9ed49a
MD5 d573712568ca4022140c4dfa82c7c27a
BLAKE2b-256 83c6822e0050306dca5c262f3dee859d0ce1f08b469b29d8fc53a8d588497f61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.41-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 17fbd33bc6d26dc01d78960e202d2c91065fbeb22a2fbcfab2021855e7c03274
MD5 f2b1c9a62799a4ada767742c8ce692cf
BLAKE2b-256 587c8c8b14945ecc6f6e87b03f1b36c5706521f8814fb7617d081dfde7a8463b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.41-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6e68c512b60b138cbad98eef63aabadb4fc36205766c1a9455cd3e1632f4365d
MD5 11bddb0555a04c7489b018c97e2167ba
BLAKE2b-256 d566fb3c158a4399e41498c930411de5285863a5f43eeff50ee1cbbc524dd9d2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.41-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 89b90a02d7e13726535124e663037ddfd7398afaee15d0c455e3d67377aeb2bd
MD5 80367b185a6a3c3255e9bd41987d8565
BLAKE2b-256 96ea97452005671738fad2544403e42f768f55573b1721b2908bae6f0ea6fd05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.41-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 27ae7950fffb877dcbdfe9dc249e68c793badefff3889be9f1367337238bda00
MD5 8027087f29fe7c3b4315b4ab787e2bf8
BLAKE2b-256 672a7cc5b36bd7f95f5d57988ee1d9bcc43ac5a0277d730dbf5ebcfac8125923

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.41-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f213892918e432d768b53f04561bf5ecae6ebec309db414fb01a7578f3c57145
MD5 0869f6fde1c5e3149e489489f243725c
BLAKE2b-256 956c0a1e5552c466e6510f492aeffc02a7ac4d7af6ae82e834e86da65a65dc3c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.41-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 627bf70ef775161553f91c909e0cf5e48021fe4b67b7ca2c77f81a5bb512f39c
MD5 7bf478f037591eef800a80f1118dde2d
BLAKE2b-256 11c59aaefea1d79a7407d336c9bfd44adfbd097021582d2a959cac3c378680f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.41-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d7cd209e6c3d9eddc2478561b41427f84c52f20a91b29c8f5270043918861a0d
MD5 6765174bd5eebdaab748c9112410fae8
BLAKE2b-256 9c0ab593b8f1bf80cafbbd4f7003758798b0c22c07d1ca00879f781227a740dc

See more details on using hashes here.

Provenance

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