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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.32-cp313-cp313-manylinux_2_31_x86_64.whl (964.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.32-cp313-cp313-macosx_13_0_arm64.whl (688.2 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.32-cp312-cp312-win_amd64.whl (634.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.32-cp312-cp312-manylinux_2_31_x86_64.whl (963.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.32-cp312-cp312-macosx_13_0_arm64.whl (685.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.32-cp311-cp311-win_amd64.whl (657.6 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.32-cp311-cp311-manylinux_2_31_x86_64.whl (878.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.32-cp311-cp311-macosx_13_0_arm64.whl (676.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.32-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 77e441065ff3a1e9e8cedc969804d39872a2d7f2be8354ca7fd279c68b91d3aa
MD5 5c8c63be18f43a11a8a0218edc44a2d3
BLAKE2b-256 ff0613fd59e74861ff1ac926f02b47f75f33a6d3bc7b42fcf6ea636d66484e45

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.32-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e076ff6863b0ebe27ae66cc8f683dd9fbd866561af6e6d0defc9205957b16add
MD5 db51756af75e316d167f8b4ef4fdea54
BLAKE2b-256 4acd5702fd17b64e9c3b58a87178b4e7e535aa8d0ea1cd87a19d5cd8e820e3c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.32-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b1194c90777005ee14431801ecba29c08c842e1986a35cd0936b73cc7aa20d6f
MD5 afc45abd62c3dd5ca37aa29ee5379e11
BLAKE2b-256 51d46456b0e57007561400a90612aaa45ced16008cbba5635395f7e1be56b066

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.32-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 820db6e18f879905e8c88694b7b31f869e8899fce40cf6c5d3ff4b9a3e965cbc
MD5 0583596024128d48daafb165616bc02b
BLAKE2b-256 24ebf6c202740a1b1370500a66f8a92e9de668eaf8f37dd848810b16d185f6c3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.32-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ce9164a954474c8f0897e71340b5dbe35fd2ac46856ff41a5dafc8174c0dcca2
MD5 dd1fd93954398df42f215bac9a371755
BLAKE2b-256 878971397c0038bd04efabcbfe9a83ec93c75b1fcf8e1f069f2fec998c69667f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.32-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e982dfe79f8d7b40b8ec498c47007ba81347e6a134700f4b5d2387763efb1e3e
MD5 a7e7098994840bfbbb21024839768ed6
BLAKE2b-256 debab22fd0b3e80fc56528ece1cf89b5365acc38b5dba0dae84eb2e8bfe10e81

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.32-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ed7c29b1d2178dab827958b12523e415dde68b5abfbcd108e090f27ca96c8708
MD5 d7f4a67e4d8523886d151f7300294452
BLAKE2b-256 4c7604ec15df307a716e3c6ebf88829fb3307cd9dc077e2b9b15fdf398bb2b94

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.32-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d3d724c03db32473d21486978ee1c5eb7789925f0f63067f3c39ce045366f74e
MD5 7b862501b619195f905a77a8672058db
BLAKE2b-256 b8cf809cb2d04a8728da7f3d253249401b9f99413775b539b91c997939efb7d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.32-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d9889056c3b54e89a1e7d9e60b2a4d38b0737226933e5b3ea35c721deec9cbcb
MD5 ff873383e77d2dd885add37a31455ecd
BLAKE2b-256 222cfc48c3151c7ab85a75505d500099d43ec7298c8e5e1dedbe5b5aa055cc93

See more details on using hashes here.

Provenance

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