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.22b1-cp313-cp313-win_amd64.whl (603.7 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.22b1-cp313-cp313-manylinux_2_31_x86_64.whl (878.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.22b1-cp313-cp313-macosx_13_0_arm64.whl (607.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.22b1-cp312-cp312-win_amd64.whl (606.2 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.22b1-cp312-cp312-manylinux_2_31_x86_64.whl (877.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.22b1-cp312-cp312-macosx_13_0_arm64.whl (605.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.22b1-cp311-cp311-win_amd64.whl (622.7 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.22b1-cp311-cp311-manylinux_2_31_x86_64.whl (801.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.22b1-cp311-cp311-macosx_13_0_arm64.whl (601.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_core_binary-0.4.22b1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22b1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 18f6bf38ca59ec7a88dce44105cc428285248e7e74bdc11f117cdf0d0a84c020
MD5 45aff17daf71271e8cf75df2355e5547
BLAKE2b-256 54df91c49cb2dae2f69f1210e82fbff9b2b24bdf27f762e1b99729873cb361a1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22b1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 024ec673d58c061c9add0e0d08e51a52f9a45bc685f61f109606fdbc4e760068
MD5 dc2144e80b1a2ee72253e951629a31ac
BLAKE2b-256 6fa6d704ca6b1fd2aa4f504d510b4fffed172581b42af4609af407f696c7d8d5

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.22b1-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22b1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d2d9abecd3b64ead62d409a359aa8ce64aa1faa9b4828ee006277eebddc1e4a9
MD5 89c101c1d6b6520df40fe664847d33b3
BLAKE2b-256 93e73aa8e588c169cfb903b9d8fa35ed46fd7ee0d42a517af9ff08f3030d9e8b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22b1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5b872a8ab284e911a20e90ad61eeee9cae64c6d516f09fbea3938e8b0800c0ca
MD5 aceb91dbf4cf0d51d956ee4fffdfcd33
BLAKE2b-256 84a06ad3e2e209cf699815bc4ba914ec0d7e23c6d81cc4693ffd1b99e2df5b41

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22b1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f80f321bb2ff9bcebd5cf29c006b60a701c4826502138cc04334cb9a25f0a870
MD5 1e9c90b86480ccec7c19308a1ee36723
BLAKE2b-256 ede4b8040dae7e997b20308d616e70fc4228ef4b5e89c03542dd825d4d886207

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.22b1-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22b1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1a2c8cbdacf5a6ebb230c6fe53f8691b3fe1773890149b206870fd7ee5ae4a88
MD5 89fd51cb01db4a2f127c3b47d299c1c6
BLAKE2b-256 8a747bf155e80e03103c30384a7efc7e864b94e35ee85dca959e389a4b504f99

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22b1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 cb55964472bfad422ea85ee0cde66262ecf81cce46156a9fc1804d55f4cd5067
MD5 f8e55bc3048583734cfb260613d6379f
BLAKE2b-256 d665908dbca6c5b74f2b176b8b3ca906c791766beb83d0c36c82023704a3ea0e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22b1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b28f5ac1e693452bb63c5ccd43df6723df665838857a3dbe59cb0dadd97e5d72
MD5 6611d6319e156730b244d42bb40938c4
BLAKE2b-256 7cb28c00bb42f0516384cc19256ce3ef50c583714a72f7041bf7f29b3a3f9111

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.22b1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22b1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0f87babdc7ed723fe7c9d694e2dc1384be6ce7c46d0d891e4da7058d055514be
MD5 4815934f1664628f62cf6b80103f3a22
BLAKE2b-256 bc7e26e33f3634c28d06c699512fc1c747fcb927240d924cfe90306e83905427

See more details on using hashes here.

Provenance

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