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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.34-cp313-cp313-manylinux_2_31_x86_64.whl (971.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.34-cp313-cp313-macosx_13_0_arm64.whl (693.7 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.34-cp312-cp312-win_amd64.whl (640.5 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.34-cp312-cp312-manylinux_2_31_x86_64.whl (969.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.34-cp312-cp312-macosx_13_0_arm64.whl (690.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.34-cp311-cp311-win_amd64.whl (664.3 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.34-cp311-cp311-manylinux_2_31_x86_64.whl (884.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.34-cp311-cp311-macosx_13_0_arm64.whl (684.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.34-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0bdf1c26b6fc227234dbc12a596a19c988df318b269e468f23c435a2cbc7da33
MD5 29cff590d027683234de62407ea5f80a
BLAKE2b-256 0083a98706e7a64a476c225e1e67ea4cf7a655c4d74b46fe4fec2ec93b610b3f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.34-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3a6f485b315264040ceffa960e351f8f58b0211767c43a727e95fce8b43f4927
MD5 0c4c2e46edf9d7d7183ff57ee301e1d6
BLAKE2b-256 a4ceb1b0dd8718ee89bc67c7cd4d241c3953282aa1e815d30b033207eb973dac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.34-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 13881ec958cbf8b8178ab56e415c4c3da9855a573c7e0cc930bd5f33f482db2f
MD5 dd7b68858aeacffdef0f5e4a1fa9e2c1
BLAKE2b-256 fc63f32e7bae3dcf6da89152905eafb57dc684ba7e9888c05de1044db738ec3d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.34-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3c80e904490bf86d242b521f8c693a613a9a3fc6cfd2eda4c545e99bf357dcf7
MD5 a36e7286920262cdcaae10720e163d68
BLAKE2b-256 2b193216aa57ce406ebfecd11594deb683de6925f99b9ca9510380e46a787cd2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.34-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6755d0cdd7712bebb75d63bc18ec9b06efdfde4e62d67a3476b5fe7a00e943a5
MD5 055720c24dec2379bd94bb04aaecf2a2
BLAKE2b-256 77e1a21fdbab45cf7094813294ed0a20204f3cdf2958853e2d8cbb88edee743c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.34-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ececfad38d0043f3b29d6f22b367efdac8510c49129a090bb8419c09972db92c
MD5 7ee6aa6e6191911f73d27defb3e7f6c0
BLAKE2b-256 7ff5043f6de94952c225a4ea6891e415624f95e1d8343c55b051ffe499d6715f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.34-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c3b2c3d1ede018c62bbb25263a42fbb161aac6e48d86a2fd5c79ffddc1333c07
MD5 3526fc1b02022d2d6a6706d665e19359
BLAKE2b-256 b150161e57fbe9c73b881db5d5d3f8294d3d72529d1061c3b59b999fa76de628

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.34-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0c3a0402fa375088d89d492cb6651ea270de4987cf76e6ffaf3931f94893d5a5
MD5 bb78a23fc0f63facc9a79f29d1d5afc3
BLAKE2b-256 7a9fd89c16a424c7aefacbec3088b82ed61dd6d0c76c38ffba40a566cac7a4f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.34-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 83d9f1e9a7ff1f884474254f7aea1e7ede6de62d121fd250f3c7440fdbf04603
MD5 9157cac8b5e999ca2b91a7c0f099a407
BLAKE2b-256 1c94e9d6aed9d5732afd5eb8eadb4e4e8a61cf6cff2fd97f036acb165320ad89

See more details on using hashes here.

Provenance

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