Skip to main content

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.

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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.42-cp313-cp313-manylinux_2_31_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.42-cp313-cp313-macosx_13_0_arm64.whl (762.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.42-cp312-cp312-win_amd64.whl (701.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.42-cp312-cp312-manylinux_2_31_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.42-cp312-cp312-macosx_13_0_arm64.whl (758.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.42-cp311-cp311-win_amd64.whl (727.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.42-cp311-cp311-manylinux_2_31_x86_64.whl (966.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.42-cp311-cp311-macosx_13_0_arm64.whl (751.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.42-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 874057ebfbf3ca4cbf593a2ff15f663cb4f0499017ec98ea40d10b4b5e10e894
MD5 20ef874243958dd5301678b919875ca1
BLAKE2b-256 92e07f651ec4ad4a4b1565f84611de503962e3ba30eac25b0ed04b2ddd76b4eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.42-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e30fe6a4d28d85c4f1a02685c0efe602b57e9f6d9d1d1dde531780571a084216
MD5 b9fe79f7f5234f7a2b49e85761608148
BLAKE2b-256 fc2a777280cb5d2e88c3bf0aac3e818eec887274519ecb9a9affa105f3d7f803

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.42-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 364ecc47cbb71495e6871bc519511c0add71d73569c19c631173ba2686d83cf3
MD5 097fc401425a8bfc0fbf67f4b81279a0
BLAKE2b-256 5c2a1f35565f4dfe511a9f9e8b43d03cc47d7a4dd548b3e25fa3df1b6100cc18

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.42-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d1a6af6c09908f0201fdf7cb744a76833ec419cafd01a10664357ac65aab33ce
MD5 cbee6ea76c3476c8e77b03ec026f07b9
BLAKE2b-256 8c711de22a3d9b541ce911a78037063073b9a3cc1225b6f131741128801f7afc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.42-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1731aa5fcc5692b4fec79c45be9c86b3c8770a1ccf28672751514c6f0458fc63
MD5 523896d177fe1dcadfacdbfefc5da204
BLAKE2b-256 2f4bff78a7660e605cad9df955688dbff022ace188354f85404253de74d5c7cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.42-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 28121a15bee33a7b26264c07e3d890a36bbed28ea6049640328042c8d758f2c5
MD5 55de107cf64f27f9034b95b3585ff09c
BLAKE2b-256 f626e95da901c135cb926fe4b71119453e243d92d941dfc5ff9c78e806b838c8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.42-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9504bfc282f99d9b74c6e82be6033fa8c1243e8109d6023e2df8a997611d9b78
MD5 ec747e1f861bbe8b9eb2b3fd57d3f873
BLAKE2b-256 57335f62bb4bb1845dc37d7088610327dd0dcbaf4b40f4c45bed4edd986ae5e8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.42-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a424827a78e1f1dd401581ba100ce115a605f142da362f9017ec12121420131b
MD5 ae6f0c1bf2587c6358a0558818f55b03
BLAKE2b-256 472b596c7093e06104f87098952d66a15ca49889cebac06f7bbd2d4bda90d824

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.42-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 858a255ae02bcaad39c7303f7993c1e1e9a6e7af3f2828b7134a5b27a33499c1
MD5 adcb1eb2670871f3edca1aeabbda72c5
BLAKE2b-256 aed5338cece40497ba2527ef859804a627824211d4d4b174d471b5e2ef736a78

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

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