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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.40-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.40-cp313-cp313-macosx_13_0_arm64.whl (738.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.40-cp312-cp312-win_amd64.whl (678.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.40-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.40-cp312-cp312-macosx_13_0_arm64.whl (735.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.40-cp311-cp311-win_amd64.whl (705.5 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.40-cp311-cp311-manylinux_2_31_x86_64.whl (937.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.40-cp311-cp311-macosx_13_0_arm64.whl (726.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.40-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 98be59ce1091e134483f92bb0c4ba9691957aaa9dabf0b7c72ae754450bd0262
MD5 e010901c18a99769f4a46b12e24534dd
BLAKE2b-256 855b799527c44ff9707cae276bb7e854d926c203bd64754092a8ff63a4f62821

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.40-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 53cced46551be28c65bb0d5800cc0e359afef83e00c25abfdb8a088764d10e25
MD5 5bce906b861630850e939c87577d2739
BLAKE2b-256 7427e042ab7814ba5c9ec369e97f53d9bba37f27615dfbf13184006fa358d0fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.40-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f95ee259055e165d96aa2dc407382efe09c42e742d700b8d171d997e3244496e
MD5 b5daa34802179cb681042c4cf1c50062
BLAKE2b-256 189aced3551b278ccb2c07d639a1dbab5856b9043ce5a4015c5b67a9ac2e1a7d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.40-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ae28ea4938ce84346e7513adca4776b65596cb76cf8de6cbc0a3be4d46467bfe
MD5 ead3182d4476a8f2a3f0858c83fa3f10
BLAKE2b-256 dba86a42b6db24ebd537463b5ac777eeb30d183e369fd7fae79233d3090aa69b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.40-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e3abd81fa116752245f630067577956bf05c8e1d145614b6a3051732b8d6f49f
MD5 ba8b6148d1e9af2b818fe414f2270ad0
BLAKE2b-256 8f61229a8ae3aac483f2a6068455978ab355a39f96e174243de4634a39e0d97c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.40-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b85057843ce0bb53021ea13df4a45f0813e4e657e81d810ae06462444021bd8e
MD5 dcaf76fd66c1fde124a7f8779a809cb8
BLAKE2b-256 fc7c3c16998f01557178539b9bc025f7ddb724e5de3d425b3c904f67c5bbfc23

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.40-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 daa4d89f572ae9b4e30de0ee80aff88f944683ddcc5a352fbb3c7c3cf115c7f5
MD5 c652904b3e3d0e686b95573b8ae15241
BLAKE2b-256 4fea1d254dfbb65f141ce80318931319d2e1187a6487eaa0c3bfe0f88fc27711

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.40-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3cfb02cd49bba0be3fd4ecd14d1d9d88f8f0ae1a9c99a2b2c77d4ac2e2e3764f
MD5 fde2f66863ffe4aea5e219b3ab64b4c7
BLAKE2b-256 c9c45de6793989406c1370d82bff280302f9b8353cad703d2fd33618dd65a3b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.40-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0409f36d424cc4674502ee61ebdc4545e7b9e6a724ea90720526f58cb0484d43
MD5 641075c265be0c37f0cafb2b891086ca
BLAKE2b-256 6b455a6682d190e1b21e437c6b7f896eb1dfc988a48cc55aa5212efda0ad568f

See more details on using hashes here.

Provenance

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