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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.14-cp313-cp313-manylinux_2_31_x86_64.whl (794.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.14-cp313-cp313-macosx_13_0_arm64.whl (539.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.14-cp312-cp312-win_amd64.whl (545.2 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.14-cp312-cp312-manylinux_2_31_x86_64.whl (794.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.14-cp312-cp312-macosx_13_0_arm64.whl (537.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.14-cp311-cp311-win_amd64.whl (559.1 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.14-cp311-cp311-manylinux_2_31_x86_64.whl (724.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.14-cp311-cp311-macosx_13_0_arm64.whl (528.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.14-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e054e94e14572c60ab6ba643e0b6a8c6f1b2d19a602ed31207ce8d4b1278f6ce
MD5 ed981122ef8042664363bfe49ab5b949
BLAKE2b-256 36eb241f53053908bf737324787944545e82dfe1e59cf69da1adbe8241549af7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.14-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3be3a669d23eeaa782201f3b34aaa1a6d54b774f5cc1fd51198df9496e16a3b9
MD5 9dadba55e73dd2c6336f61a9fb1dca92
BLAKE2b-256 0c8e76ec1e5c297d8de65434438674975cadff4eba77f8068cd95c1322abfceb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.14-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0d2a771d6645c1c0d54ccbc685389178eaff90e7d57dd12cf80fa1e53d5f4e32
MD5 8a6a5d75f0d2c93dd41a351c78140620
BLAKE2b-256 dc8e476726e5c4bee3dc528fd8e7b39504a94d63b4d0c5535b59d8bb2a5aa13d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3bce9653179368cb149a250164b12af65f16252c0288cbd945173366efc7b9f0
MD5 c30faf4f8813ce1bbafe59485d958016
BLAKE2b-256 9996d98fd6e0cf1d11af3c8d3fcc434c8f87e4e9b7495c235bfd6019f4ba256d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.14-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 51a57ea5c4e5742e1f2333fea44208b77fa349d8fd1baf58f70041c6cd4385b5
MD5 d4babb2dc61e0373bffb0a1a18e88311
BLAKE2b-256 c7429a0d636ef7ee11cd82ef88dd40a64d5e8e266b4f7befb1a229ccc3250b1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.14-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 23d282bfb0d8f72fd758539062545235a85bd9135a07f7bb770f126a77980e13
MD5 b89d97832808e9647cb0f7c08078c5bb
BLAKE2b-256 23fd3e2bba14455c8900ec45d44cff3119ae1518970f417a7cb85c1f9fc33544

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 da5a55dd5ac166d0d653af92d428488aef0175afa8a7f1abcc1bbee7b03fe405
MD5 6de0eb29f8f500bd8a42cdbe36789423
BLAKE2b-256 7df73c82adc9da1a17a96c9a85c8737fc4cda576bfee30df890dcdbcd56c2ee8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.14-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4190916edf6892dc0af0ba2c17240910141120421c01cb8098fea341fa18375a
MD5 4d265d81f23a61ecb8ece205a988b24d
BLAKE2b-256 b84bddbf39bbfe10d35778ad389135395adb3748c782a3248fea8607ae9592e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.14-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e97ea08ecf4fb8c7bbd86fa5dd5fd11c211a1117cee0780799a87e08957771fb
MD5 2ad72f8566564bfefcf1abe0ca6043e8
BLAKE2b-256 daf5b1d496cef46480f523c3c51f55c714bbca94cc66fc0587693473513868fa

See more details on using hashes here.

Provenance

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