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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.22-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.22-cp313-cp313-macosx_13_0_arm64.whl (607.3 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.22-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.22-cp312-cp312-macosx_13_0_arm64.whl (605.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.22-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.22-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.22-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2e49f49175935355f05723f52cf5c2c2535f6ce229c499184f3f03d56e955e3f
MD5 d92092cb27ebd7498121b5e4d5ed3af9
BLAKE2b-256 1271a012c1b11121f1e3107872413249fb70afc827fe4bded3d845a29d05303c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 61dfd58b5b4dd8dc81a39c660d96053a62b552521358fca4f869f8ce173d2446
MD5 2957183c96fd6a9236c1cb1419e706af
BLAKE2b-256 064119509200568f71b5ac7e0fb9c03e3162152864592212b69f222a7dbbc15d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9ca7de09b5632360e9aeb63fde77e78736f991f48e242529c4e0f6bddfa7ad96
MD5 3fad261e0d2bbade2950b8ca367ec864
BLAKE2b-256 15d80772e47401fa189481d35a64d448b7e3a2c42bc3c6f9f4bf15dbcd0c96f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 632509be52bca5a400e22f717463142e9b587de5f917c77d2a50ecb34f0855f7
MD5 de0f4dbdf02cb203c2fc49445003f617
BLAKE2b-256 b8150da16308e7061ee21007796964d79af1a4b0307ed8a7d9427f83ed2de9bb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6304e8e4ea556cb7473098efea87db453c2ddfdf332d70259fe2a91e65b7b7d7
MD5 b9783847dd6f5bce2d808f838d83385e
BLAKE2b-256 040938130aa198fc3f7d4f55022d8d9a85ce64b8ade21ee465a794ee3b3e2600

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a6a33079cd7389b5b6fe1a95c0dd159481cf3fc6687e7d26183f0d329ecb68b8
MD5 1eaaa174d10c8133ec9588672c9e9acb
BLAKE2b-256 bdf72735742d68785af69992848e51f8abc037163b9eb32d3aacec6fa5e56dc5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0264d461288317531e0d08f3afdbedba0afceaf89df0bb1c4685e92de661e56f
MD5 5a4a7307b994bd1b081e64994dcf864d
BLAKE2b-256 a858810d07fe346081a03e928638c59123306c81415213feb3f69213d44478f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c75bee385fa81ce2a91eda319a07fca82334319d59c3bca23026d72a14bad98f
MD5 f68efe94f979b5d9b1a0107ed3823ac0
BLAKE2b-256 6cc73a2b42b2dfe9d985c655674cc80e9b8a9c31398907f9a5d203b5816d05be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.22-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 28133aebcfe1965fbfdc699bf152b3b9d94eee901ca60ec1f34beb8b2a279435
MD5 450afac72c130253fceed808462365bd
BLAKE2b-256 e3caf9260919e11adf8a936dd332981c1c926328f4098755b8f8292eab9fb2dc

See more details on using hashes here.

Provenance

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