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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.17-cp313-cp313-manylinux_2_31_x86_64.whl (829.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.17-cp313-cp313-macosx_13_0_arm64.whl (567.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.17-cp312-cp312-win_amd64.whl (571.0 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.17-cp312-cp312-manylinux_2_31_x86_64.whl (829.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.17-cp312-cp312-macosx_13_0_arm64.whl (563.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.17-cp311-cp311-win_amd64.whl (585.4 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.17-cp311-cp311-manylinux_2_31_x86_64.whl (756.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.17-cp311-cp311-macosx_13_0_arm64.whl (556.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.17-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0aba693e143919d02296cf34a5a60eadf55bf1e75c13e0aa9543f621c2cc4250
MD5 390af44fd85b04cf08ed010a096dce8d
BLAKE2b-256 e6cd34256ffac5b68d438cd4a7411cfa7e6fecab22ba1c3f659623784fdd060c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.17-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d9009f547627b52fd21e4116e2c16c7e97437578a038dc3df2d74f4f461f5f8f
MD5 82735e000d8e2765387a67b54e32c05b
BLAKE2b-256 71dad108784186f1a6c1a60f3b4c9b0d67d6ee03d96837c25f1525722215cf01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.17-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 53672bcd4f35caac4d856c381e9bd53213a9dfc29dde9550194ff8076d70fb89
MD5 b19d53290e4f91c61b1dc24738e76661
BLAKE2b-256 219332685e63cb10980a76545dd08512ff4b95b223159280eb068947dffae383

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.17-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 dc195e8401d1dfbba4bec00baf4e93847c1f81a303e83c76fb509058b4536bd9
MD5 3596657eb5ce0c7ae04d6a5766251869
BLAKE2b-256 637fc20fbdb262de850806a5a8af59ab506e5b63df75d414d4cec45fd0bb84de

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.17-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2327c52881bc88566fc55ca6b0130ab72b161320e19bfc9ec24eae33ce813689
MD5 e9b6518ece346ad0f4217c4146c55a7e
BLAKE2b-256 a2e3dc5cbaae2d9284cc31af23e78e39c8bd3c3c334751dbcb17470a55a00776

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.17-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 202c93b036dbc98215bcd80e271bb0df9abade56c89d96e01383c3398366ca17
MD5 7350ec638177d72267badcdfd48611e1
BLAKE2b-256 c62c694fff2a098adb8695c491e1e4864485691ad28264af5788e3519e160680

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.17-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 fe173186db96efccf6a31d746e6402f932e4b0844fe6b34be2edbd6e007a3e66
MD5 4621885fb1e91fb522719c617e44e5f5
BLAKE2b-256 0e0d5f649186bcef114245ab7e530213be45cfa95facf72cfca7897318202a20

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.17-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 cbeb9c45c0872aaf306de3533d0e3962093581a916b73283cd1b34e9c2989fef
MD5 78a3efc318a55449ec1f6ec963cd039f
BLAKE2b-256 089a19301c52cacd4442964da2d582bd05f4c1869c520278a2491ff50d65db37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.17-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d3c8e5fb2c9307135ed68d2a1b44e8d7269669cfad678d8efbf3e45d6fd2ecd1
MD5 04e41e287bb86590673a3dbd075518e4
BLAKE2b-256 b675b49be27101eea433b396a6ce45458d77e726919d56215003d40e1b93d4e8

See more details on using hashes here.

Provenance

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