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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.29-cp313-cp313-manylinux_2_31_x86_64.whl (956.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.29-cp313-cp313-macosx_13_0_arm64.whl (683.2 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.29-cp312-cp312-win_amd64.whl (629.6 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.29-cp312-cp312-manylinux_2_31_x86_64.whl (954.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.29-cp312-cp312-macosx_13_0_arm64.whl (680.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.29-cp311-cp311-win_amd64.whl (652.4 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.29-cp311-cp311-manylinux_2_31_x86_64.whl (872.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.29-cp311-cp311-macosx_13_0_arm64.whl (671.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.29-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e9017ceb58817240eb8968bda87e0ea14cb164ad3e2c3530ad1558d4ceeeda18
MD5 8418442fc5821aa225e02acbbb832ce2
BLAKE2b-256 4a1bedf12a9606de0a357a1740096632cd66ef8db5482c61cb0b6ba60736d9fd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.29-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5d6fd0912ce875145beecf41044e084bd6404d3b85a5f9d1f915c2a8b482e69f
MD5 d4a1fa8abf92b937579ffaee6ee827d4
BLAKE2b-256 98f088a50ed704b097957dc19ded8a56d918302f424bca43b9390cb16e1c7ac4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.29-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cce4712c202014db8c2c7bb55c9ec41a866bbf64bc2bd1f0ba63dd1d7c0d6f9a
MD5 3537995ea507513fcbd1e53fec87951d
BLAKE2b-256 92ed2b3257cfad1705780d0400af47a3942556a571b2ca44ca8f2c60f2e497ab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.29-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9394e6f3e60f740e588bd6cae92ad9a0ef0a5f9b583881d7c037cf6b88b5b20b
MD5 ec857a964d110e42d26a4d0563ddca8e
BLAKE2b-256 fb8e645fa5881946f225f1c7a2f0aa3df37bf55285d355b0c2fc1a0ce810995b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.29-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 59a296ef63029811993adbee25033f42b035c1a5ba06123fa41c0bd6a274b5ce
MD5 78933439f88fcc10b233c77fa4f95425
BLAKE2b-256 97a394aa4c6e6d72ac99073b29b3d53f3cf0406361c667d5dc774fa51ac9cd1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.29-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 54693b0e839a10c6bb1a3d15240070517ca39b67bf8c346dca4a61f55d19650f
MD5 e6e3884673c10c1101616227c2775b66
BLAKE2b-256 db251cbc30cd59b8abfda17f2bd54f62d5b3d7eac0f4da0bd89ede789b3a43df

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.29-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 19ac986290d40e283c16c090fa2fbe09174bdd96090d7f8803a761f046328023
MD5 e82566fa294d75e8aed58f92e70b1359
BLAKE2b-256 760de6f74b8ae3ed163062967558f34fe7da10ed79ecde51656c30a9ceefe491

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.29-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 03fbffa4db45986fdcfb62d5a63060b8f2cb82e70f9c478c847a522631b45fb6
MD5 7cb28bd3d5c6c09a9bd984f98253ad01
BLAKE2b-256 d165ce05dfe9db4b909a78b80a8cc42727f68c29578aba51a2dcaa4018372988

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.29-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 23c585e677180f9deebfa95fe94451a898c3f95a2751f447b2ce111d2773b01b
MD5 e9ee053cde8088e58b02524be998188c
BLAKE2b-256 2c7c04dad7bbdc2de044cfd8820ba4d47f8f6eca5896e7e085b45631bfb96618

See more details on using hashes here.

Provenance

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