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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.37-cp313-cp313-manylinux_2_31_x86_64.whl (977.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.37-cp313-cp313-macosx_13_0_arm64.whl (700.3 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.37-cp312-cp312-win_amd64.whl (646.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.37-cp312-cp312-manylinux_2_31_x86_64.whl (976.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.37-cp312-cp312-macosx_13_0_arm64.whl (697.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.37-cp311-cp311-win_amd64.whl (671.6 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.37-cp311-cp311-manylinux_2_31_x86_64.whl (892.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.37-cp311-cp311-macosx_13_0_arm64.whl (690.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0300d0a861e1ba45cbe68257e4cb7149a60e05658adf160740fd367eeebf9201
MD5 8b4e9f766998614d0928b3513b01df2c
BLAKE2b-256 8178d3734bd7d1956451c8ff161f730f078d5ef65445c4c6e3e4c33b09de60b1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 233f2af22ebcc09304959619220d603595f468e7d011256bb7f5a9a80b2ed28f
MD5 aad032558a2ddb9d414af81f78fce17a
BLAKE2b-256 cecbf4e527c087d1150d0c21bdd8f026d9c218441d1539f4cd77d98452e86987

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d225d1b035dcc067ec16f4367bf26715866225858e8dfeeb21d917db43d14336
MD5 92d2aa8320af20bd548ba3f0e7ad2715
BLAKE2b-256 060f5481d2c864ea5adc91195cdfa1801608d0998a87418612270d1a413983f1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ff2741cc1fc11aa2b2a50ef0bb66cab4232faf0451f72fdb87bce36f0a17e87a
MD5 78cf9fce6c9ca44ebb1886a597ab8240
BLAKE2b-256 b8f15612e427fe30ebfc79f81da0d877c77ac6ce557618bb58ddd40656460b24

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4480e4db9e9e1ff8e5d4abac77608cf4be3b1469a58126aaf6fc6451b7267453
MD5 dd3d63ae18559e6ac7073857e5cd0bee
BLAKE2b-256 1cba63c59d01e7bb83601a7e82a7d2ab5ad7a6075e1cdcc7bde0f504340d4de6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d5c97d126169752f4ce61ba4e29e6b4e6cbba5d56ceb0b74d5e040d8e9410b33
MD5 19405fb555c884b934ece976b5972f59
BLAKE2b-256 71eac0e6bbff4a95d38345f557131b1605ed6123ac60bf198243e74cb128a0de

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f953156158eaa827159743726e293dc7eb8371a0c42c9c97ead796a646fc434f
MD5 31464dcccbf86a59bfb631ab8257e8ab
BLAKE2b-256 ac5acf7c8c605ab46df2c4352577240a23b8e025e84af50f1d31181096fcf2a1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 857fe8cfa4d8cddae2c9fc3ba48495c3df2dfa742aa25e3732ce204db6049443
MD5 e69d4710a8cb4e43b6aaef5abfc750c0
BLAKE2b-256 ad9e62f412d332d80f5e53e950725446916c2d8b55861078662d06fc0ec6fada

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 91ad5d8ef3a4d5b7a33300632a90a092d752a6c6694ddbaee27c7118e62d1196
MD5 b10d2432cb664ccaeab0c2e0780e9c08
BLAKE2b-256 1421ee01134c19cd5b2472bcf8514b0838135cfbfe554555312644a4fa0f9ef1

See more details on using hashes here.

Provenance

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