Skip to main content

A library containing core components for Gen AI applications.

Project description

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.

Project details


Release history Release notifications | RSS feed

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.23b1-cp313-cp313-win_amd64.whl (537.6 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.23b1-cp313-cp313-manylinux_2_31_x86_64.whl (874.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.23b1-cp313-cp313-macosx_13_0_arm64.whl (611.5 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.23b1-cp312-cp312-win_amd64.whl (540.5 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.23b1-cp312-cp312-manylinux_2_31_x86_64.whl (873.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.23b1-cp312-cp312-macosx_13_0_arm64.whl (609.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.23b1-cp311-cp311-win_amd64.whl (558.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.23b1-cp311-cp311-manylinux_2_31_x86_64.whl (797.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.23b1-cp311-cp311-macosx_13_0_arm64.whl (607.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_core_binary-0.4.23b1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f544a502ed017b61ed6169a1b7cd9b9dcf668f54aa7905ce7509022411fa265e
MD5 9b06a86f4adb08bf0476b617cbeb962a
BLAKE2b-256 2e9c1a9106a229345545a050349297e41d4d3be2837733f3f6b56dfa29df7f66

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b9b124ec51468b23032456e175740adc50cb5166c5d233d0c3f6ae23df3fe3dc
MD5 c04f00aa88fe98adf7bbea25be4a7cb5
BLAKE2b-256 e8e9465215114a5cee008bda95e59fbe2d0d18c2405b7f65523dc4a9061b060d

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.23b1-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 67cb299103e1576256321c8f1883071bd098113e4ddd682ec50b73dd589d3f1b
MD5 9ecc6a97b3999e61c138341110bdeaa5
BLAKE2b-256 57a4581720e42b9836761c35c1ade362fb49bdcffe7ac59361d41c6474a435db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 86b53ff646c1af8c7d2e19af91c1255cb98a52ea4049bf81536c74bd99581328
MD5 39ff4e9d69f24b9a70aea4851cd24e49
BLAKE2b-256 ce02e733856682a44bd4330fe7a8368b889186c2973f4c20bce043095cc16d35

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c101c514c8db8ae2d0d055c9f78236c85c24a0c4f9f0f05839b6b298e69e24a4
MD5 42ff3991758407aa704762c999803acb
BLAKE2b-256 aa33f354c073da9d0e5425bb46ae9bc5acc2e775d303ed8098cae40201a1a3ca

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.23b1-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 14e97242cda12ed93625dbdb050bf87a691aea57d6a15b52bc4e31bc5376d930
MD5 77ea70f581e5f14a359acefcf0787156
BLAKE2b-256 a8cd1d3f95ad033ea396e1bb4791f524c12699bb5d15e1ad29513e1550bbd19f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ee1e14ea72532ba4ab9e28f9e016ce73119eeb688247b7279fff3e028bdcfcb0
MD5 a9f453d0bc2cc5715f0e616df8097b4b
BLAKE2b-256 7ec0aa6f7d79a73324b9f292670efc894c96f4e0e6c5be39185bae22b1e83cce

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5e02325c4b8a28da2958c8b4a7d75fe24fc0cfc23beae28d06e87f1d4301ccb2
MD5 aad527c567731d86d108964010191407
BLAKE2b-256 3a44438957c19213aae2c321dbf07b58fb327bd5c072ef225b04dd64cbd2c1f9

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.23b1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a20c98306d1de8f0131dd3a3127abce633971e294e98e746b3e9cfa0a90f87fa
MD5 9e35065e4e80ec54d5d945a6c6a2eb6e
BLAKE2b-256 f0f56b5c0732ffde55712daf238ccacc12b056e81377eede823ef38e2503c048

See more details on using hashes here.

Provenance

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

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