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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.24-cp313-cp313-manylinux_2_31_x86_64.whl (875.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.24-cp313-cp313-macosx_13_0_arm64.whl (612.5 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.24-cp312-cp312-win_amd64.whl (541.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.24-cp312-cp312-manylinux_2_31_x86_64.whl (874.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.24-cp312-cp312-macosx_13_0_arm64.whl (610.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.24-cp311-cp311-win_amd64.whl (559.1 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.24-cp311-cp311-manylinux_2_31_x86_64.whl (798.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.24-cp311-cp311-macosx_13_0_arm64.whl (607.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.24-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 118f0e1a9261e00e286fc7da318298697b53970dbca03bccacf859bafce0d0ed
MD5 4747954b972cf3793faad39efd084cfc
BLAKE2b-256 6814d59371928d975ff72ce51e0473855f1b749b6c15d415cdec80911c308018

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.24-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6fbc9dd33ed5226e1c6edab5e1c2a2f50c1e8ef3165de5c7a7a55b0e64a8b116
MD5 5cf55f836c5d194436a606076b68fdc6
BLAKE2b-256 c34853a0ebd8db213c4fd0d570a7e2cf4ed31d73f78e2d3657db42131e0a9022

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.24-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 01fd00d0735a8a9697ecac9de31029bdbd11018321b7b76a00a0d23424e755b4
MD5 de45ba466ede720be08123eb6c18d049
BLAKE2b-256 228adfece1eefa55c9171ffb7b19bfea114b1cca79df681090cf47ee164d39c2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.24-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 15b638193f610e7e34379826b4cf3bc9253c6e6a192c996861bd34ad335515e8
MD5 326dd4cbe2300caa01d971f450d3a663
BLAKE2b-256 15a8578f3674203a8267c83eef7f01cfddddbb58d2e17c5cd3966db894d8fd05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.24-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e398130de765b11104c32b43dffb88547ef6fbc3553f80d9af15cb6907bca533
MD5 57b10aa035971b2ca44aa1956c4a9a31
BLAKE2b-256 7fad41d119cfcac5b08e72e8d079f3e76c2832f0198e8c081c447b265695a611

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.24-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0a35c24b0ef77292639ab657034c08ebca82ec640b63aa69e4c6bf6043df6b5c
MD5 518bd3d2a3e0ce91d434a497b91397e3
BLAKE2b-256 f6fb1c1cd27af0ad7b0addb01e3ca5bce560d344fad1ae34f6d1bc63974361e2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.24-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8be1b68e66b8751f992c1efd8304015959a5527290ee214571e2ac7ede3a4dea
MD5 28f1f1b773960ff5fce39be5c5be9fa0
BLAKE2b-256 5e2f929610366c440ecce4de106f5366c7d880b875ca89a10d97bc3e32226f69

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.24-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 832f2da67abf547c7e76222e6023ab2b8002e14d5c98f64d2f3693bfa555a2fa
MD5 29cd4b36d584a5d1e23b13bb4ec27669
BLAKE2b-256 14c5488cb82e6e7349aa76b0246822fee617849d4c59e0307a1712e6c3d598cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.24-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a0da78af9df6b528f57ec2c2c496f310819bfb06c9e7ce27482a8a83e6e42e3c
MD5 93ef3395da94b516d6a9a632ea110a02
BLAKE2b-256 3c4e6ae786e2d7c912a23b8577b739ce92fc4fcfbc8c55cc7e79451f335d02f4

See more details on using hashes here.

Provenance

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