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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.20-cp313-cp313-manylinux_2_31_x86_64.whl (838.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.20-cp313-cp313-macosx_13_0_arm64.whl (575.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.20-cp312-cp312-win_amd64.whl (577.8 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.20-cp312-cp312-manylinux_2_31_x86_64.whl (838.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.20-cp312-cp312-macosx_13_0_arm64.whl (573.8 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.20-cp311-cp311-win_amd64.whl (592.7 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.20-cp311-cp311-manylinux_2_31_x86_64.whl (764.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.20-cp311-cp311-macosx_13_0_arm64.whl (568.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.20-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 edec9659da2cf1784ec7ecb52f56fd99799d3275ab58163d2b3141f7b3c75b1a
MD5 ee3e7e5181c3dbabcf728760ec8c154a
BLAKE2b-256 449a5db3b85457d826dfb9c1510ef7f08810e8a21f3f98f324fba7633d33ecc8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.20-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 cf95e27a981fbdeae1d212519057337b471e98a61482cd4ef62532de0d12aadb
MD5 e1be64be2914703c7cf43ac1f3125465
BLAKE2b-256 8636cf13f58fddea34d5d5402e48cd39d0ba43c62a42a495846eb6585cd76d97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.20-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ec5ce7d2bfbb4074be78185bb46fe8b100f85f01ce9f6b2f516dcf81c046ce4c
MD5 8221402422a71c21b4733f2a9fc6816d
BLAKE2b-256 6352a877a35b5fa183e85dc30bb2a17d043c0de5241b17452750ca5a5efaaa0b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.20-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e7e0f4b8caa2be07bb11fab01c22bcf5d362f39a43ca3752345f4e5b1d837026
MD5 b204c7c73af1722124712458667faf61
BLAKE2b-256 1a18c8fba2ba755dfa6aa1715328210358f993a42be12042c4bfd029403faab9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.20-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 199970209ce4cda25360bfa63ab30caaac671517750dd271625bd70e64193fc1
MD5 eb9fea4a6335563355be2e3a7b9a5fd2
BLAKE2b-256 bcf7569ff38bedf91d60492c2225478a66d91950098643d8cdff77248d09f5cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.20-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 85dc36d0828822dc6aa0a1f736fce9d6fa5f33ca4b47388907a42daac6cef628
MD5 77877b105114cd60a15d1563400ee5c4
BLAKE2b-256 4001aecdebb18a184d45ce08211e14cfafbfa93e8abbb186fd25efecbecaa3fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.20-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3781660fcb163a98ca0a150e17279184c5bfbb58694ee568b50fe29bc61b194b
MD5 46d58e8cf7378f889237787f4089dcec
BLAKE2b-256 511aeb3dba34ffd453b0d5f58e5b85b7c06b49737dbc39ef67afef003eaf2470

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.20-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1af169cd6c66617fdb0cc19ae1c69aa888ba4dcf90c48e952f89c48e4793bd3d
MD5 a68e45f226f853d0df09befe138a02ac
BLAKE2b-256 8e08dbd285469880f98e4d9eb11b9aaa1acff4652ec907a20c40107ccff8718a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.20-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8cd81e38eb014b46b3ef08ea306b8149e9bbf78aa2edc2f99b79acd544b59832
MD5 1de3626775dc3cdf36b0f5e8570daf14
BLAKE2b-256 620a81333b697bdc237c54d1bb512a46d884dc251bfe95aaacbb66ca6126a868

See more details on using hashes here.

Provenance

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