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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.25-cp313-cp313-manylinux_2_31_x86_64.whl (950.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.25-cp313-cp313-macosx_13_0_arm64.whl (680.0 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.25-cp312-cp312-win_amd64.whl (596.5 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.25-cp312-cp312-manylinux_2_31_x86_64.whl (949.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.25-cp312-cp312-macosx_13_0_arm64.whl (676.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.25-cp311-cp311-win_amd64.whl (618.4 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.25-cp311-cp311-manylinux_2_31_x86_64.whl (868.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.25-cp311-cp311-macosx_13_0_arm64.whl (669.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.25-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b7fedd879202367463d740d83fd043bf19401b72fc2b3ce9370cda772598e5c5
MD5 a2ced590b73186cf6c62dd75c4b0c630
BLAKE2b-256 0797fd022a831da8481be3e37c98468472d34799e726bad17f513ae601c1075a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.25-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b5d79e234d682803b064999a54c99dea2a17ee398a847679f79a5ac16dcb35d2
MD5 a8332511e97d77ba8d08a5887ceb2f1c
BLAKE2b-256 f39c25448ecea552482b5b9085c001cdbdc707b2349fc8c9e7429e42b7a2b394

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.25-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 34ff629ab05aff335ba85004b2c6db4f351d7dad7de005b4bbc4edc1bc308819
MD5 c00dfd2ba15fcaf9c2a16df605cb2204
BLAKE2b-256 ffdbf618b0a1ca4880049b7e1d5bff7a973db9bee86643542064bdae2dc3d281

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.25-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 449c7ad6454ad14ab51c107cc8eb9fc79ef9a8b09b112ab4a0de82c774bf735d
MD5 3412a97e37bc32e998f11d83faca1b58
BLAKE2b-256 4c248d5c3ee572a6afeae537bf761079f44509c680c671203963f73f53b8a53d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.25-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a58d8287ba6abdea5509413c18516e908a23037ef2a79b02cb7c5fb29598d8e0
MD5 291881597ae08eab70772b13e4604c27
BLAKE2b-256 bdac6974b714ac1db4532954a18768401e2b9ad6846e9c4dc8b839c058da8c58

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.25-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ecf0a37b3e3bef44442dfb092f12d334df6622bf6db642e87779602cd38a932a
MD5 b8d6b44fcd97e507bd2a8ec98352cd8a
BLAKE2b-256 445628fd23756c229b3413ac82c05e3c30786b7e7c4fe3a0189c25e4cf68abbb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.25-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 234beac646e714c3f6e174a6474593a649fe1af161527e4341285569a3dce35c
MD5 af6320ced90669f6446db25cacd2c815
BLAKE2b-256 71b217cff9bb16832c4a9fdf413a68b3eb38b2e1893fa0e5f2f302524d90b4fb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.25-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0b040dd419b99dd9065f58712739b3d8bb95307de3ebf6726b872c9f8b60da1c
MD5 a5dd832468a7031de362e43d076a52fc
BLAKE2b-256 62c4f6c4da90f052755dd98c2b0b894e3877090bca6ada1d27d0bfa5abdb9c01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.25-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 88d2fea8871cb17c2d3ddc751b3188a39da8100f1dc063af0d92ba36d59f667d
MD5 0f1246a62dcedaa2cdbef6e0def3301d
BLAKE2b-256 a888db5b0782c686eb704c4dfc5d42601887515bcc0a81935c0f8004d5107496

See more details on using hashes here.

Provenance

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