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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.13-cp313-cp313-manylinux_2_31_x86_64.whl (777.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.13-cp313-cp313-macosx_13_0_arm64.whl (524.3 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.13-cp312-cp312-win_amd64.whl (534.2 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.13-cp312-cp312-manylinux_2_31_x86_64.whl (778.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.13-cp312-cp312-macosx_13_0_arm64.whl (523.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.13-cp311-cp311-win_amd64.whl (546.1 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.13-cp311-cp311-manylinux_2_31_x86_64.whl (709.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.13-cp311-cp311-macosx_13_0_arm64.whl (521.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.13-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 cd2ea05fb76bcb94087c2091cef74dc099e6481d49de9df6f9b85562e25e9375
MD5 b9c94b273891f65bbd5ffee47ad33556
BLAKE2b-256 afac11fc97ec2d999724839bf65d013b7fcce1f4a4e12a66feff92e4cd574736

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.13-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3d419f3a3fc0ab4031acc288984d94cd4c76341da84841eda22fa1cbfa7c1f02
MD5 05b1a5d5a51ed48e46fe0549c02b53ab
BLAKE2b-256 f4b0e478ce124284c1ffff6d91784591fca1807d0a9848a1160abc9e1b15a7ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.13-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4df633d5748ffc7f08edf1668c2a9fb52c53dc1fc6232f62050b1ff26e414df6
MD5 4915d7b5214e636d6a115891d68a456b
BLAKE2b-256 c85ab0331124353614ffdedb8718fc21448126febf1fa2c84eaf49803664c615

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.13-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 febb3adf8d6c99d4d50b8ebd83792cbfe191b53f2161167761479525f51676e5
MD5 9717ce4b4247edcb388a37e0d0263666
BLAKE2b-256 926ea0684fff6ab778763858a1e4cddbb875b87b761f2883e525e277a925d097

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.13-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a115fb0028370fba79a948143b5f4586772ea5c373fc0a1904edaaa68985a673
MD5 5b8cb9a4210dfbfa6f254b10b0cb036c
BLAKE2b-256 65ba31223e6a28cb9972c2d4955d4f0d7513945d66e5d0c267eb117086632b14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.13-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e4d0cbe0fdbd249e3f505c8672afb04c2b85e9786e708a1b43a13372c1e64c47
MD5 7b795b73ccbaf7ea3f25d8462d409bcf
BLAKE2b-256 07850ada080e294b020cec9bc40d6d961279e6416b49b3eea16d948d56c5d6fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.13-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d3bcfeb7225813a234c09c819bc7a3dbc643ed6db5f5df16ef6ce638b6e86612
MD5 a6895e637f51804d12ca8f57f815fc2f
BLAKE2b-256 bebcb3264f2a343d9063b38dd0411a48c9a8c35d549d8282805e2c652d4f3658

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.13-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1f329b2c0d1bd4721c1576513d33de78010e4dc8bd238cda18cf1eb8b0310ad5
MD5 0367497617db0761aefc91ac18b164dc
BLAKE2b-256 aeff1b96733dea2f221aad5e64804615bbf14104b5daba30774e90c22d7273b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.13-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1ce20484f3d14e315ecc3b7bc7c3d911c470318abc75809a54292f5053e2ada9
MD5 f74be8cb1e41c5258b3043e3ff5ffc14
BLAKE2b-256 325c267ff72dd8f508d7342cb1f902b53ad18c60c92ad01ced559ae1a73a6a7c

See more details on using hashes here.

Provenance

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