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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.23-cp313-cp313-manylinux_2_31_x86_64.whl (878.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.23-cp313-cp313-macosx_13_0_arm64.whl (607.3 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.23-cp311-cp311-win_amd64.whl (622.6 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.23-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.23-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.23-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8042b2bc84bf91a544abb2d54c62663f3c6514fccc80232a744f09f2066f687f
MD5 26aef0726248d292767898d80483160f
BLAKE2b-256 cf74d746ba489659024d5d7213a75f019f2c36f5fde4684460a79e41c01e1b6c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9a14378d73b8e7d9cecdb616e19351f8cfb2242b5bb0c4d2a87c3df001f009eb
MD5 c75fba8158352c1b8da971939a216da5
BLAKE2b-256 e75da6bdab5ef156823e98b7d4919cf14cb5e0451aa9f8fdf2bba54d7c8fae6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c134a217811a44f19398aa44842122a1722f3f460e0b9621add6a7d6b325acfa
MD5 f614ea439f5f2020cc4c4988264b5d33
BLAKE2b-256 1779681d6ca3d4a1f292d9a6056ebe0ea67fa8bd17e1639e6333129514bbe4aa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 560c9455d52da72e13927778ed164a77a75708833764370250112a7ae63d37d4
MD5 45994e603c887a451e369a0a3e1637f4
BLAKE2b-256 809f3f4a3fbb26f9e81b863602c7041349f3cf1f9e4eb74cba50273c043c4f03

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e63480aabe4ff0c0a637f4d84ed3873512914db7dc6b3be554acb8967760c918
MD5 03542b768b383496809ce0765828426f
BLAKE2b-256 8f8f112ba7e83f592e688a1fbff8b09f35453782f9c2229df083d39289967cbe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d261b019a3afa83c9f44e68ad3c96a17691072225a5790364b63b7611f19bc77
MD5 86bf56ff699030dfeff607140ba0cd9a
BLAKE2b-256 ecbf384d82a125d144ff617e4bfe2ddd3e870b8cc1c57d24e8b305209de12aef

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 fe4d58a81421c7d21d9503b6c56144dc39f22389e60e605a06d837c7dcf31eb2
MD5 312cdea3f3c98d3098aaef39ab4fff2a
BLAKE2b-256 2dd4f0c1e316b737b2bd4b30b479b33db906e32c6171cf182b64a01ccc3a14b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 390b1c3b7b9de422c15272c8957935e1acac04520e953966c0409d28a5d017e4
MD5 f156a59994931c72f11b70ab967972cb
BLAKE2b-256 a9d349fa3bfc3b05dae7b7759488a3d40bc5cf8b6e0562b15670d917361377de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 03fe132e252d633ca33f0719ba10240234a7783a33e45319e69c7b1b43cd0d5d
MD5 308a312a3f7826dbc5f0a1d0c74dd33e
BLAKE2b-256 c5dbeb5a3ccef7d6794c60d7be9c4a5f75b8eb0302d6d6fb832a1e7394b07ae6

See more details on using hashes here.

Provenance

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