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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.45-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.45-cp313-cp313-macosx_13_0_arm64.whl (770.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.45-cp312-cp312-win_amd64.whl (710.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.45-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.45-cp312-cp312-macosx_13_0_arm64.whl (767.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.45-cp311-cp311-win_amd64.whl (736.2 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.45-cp311-cp311-manylinux_2_31_x86_64.whl (980.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.45-cp311-cp311-macosx_13_0_arm64.whl (758.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.45-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c087a334053cbc22a8c4e6e0d1e4b08903f6e7d2f4c953765ca3a50792bfd0f9
MD5 cea9d6f9afc0916e11c30975b1ee700f
BLAKE2b-256 020f23cd63f3d4f8c0cd9c41f324aaba309a6912d480d9f6403e6f026db469d9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.45-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f1e369c410a448004eb7bc93c1b2c1c5b68396e7cba9f2bf13cbfb9061b97789
MD5 6d5b74a3851d9a0c9114fd8c1eab5f11
BLAKE2b-256 ce9dd5c10f1acf42b86a59574430b6ca4ff4735581cb8c37212e7dad7365d7b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.45-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2b75ec1166529702159e399f266d2d2c8db0a289388ff25214e621dd4b59dad8
MD5 95cd0d3bde32dcbe04edd02d16f9ce8a
BLAKE2b-256 2cef80dc9f2ba7ebba556ce83f4053c373c8382fa61a9e079ecf573ac6a80b05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.45-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 28b0521ecfd50af8c3da1ee3f6865cb55fd2ae2e4d94014e3b4c0da75caeae2b
MD5 a361fbd5368007b41d4a8cea43854770
BLAKE2b-256 c85e783c9c7a5379ab248600975580d730e03bb92bf7647512ed384f09a4cd3a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.45-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 96ec540603549dc856aeec948fb337ff75ccbdc8e2e6e4194f7f99b935ca3c74
MD5 04e09463153f012e6e8b617980cc25d5
BLAKE2b-256 79a96e567d9d9cbb1a8d246e873c4084f3ab1923fc0e7e051231fe83f3499862

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.45-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 22c4749780bc360ee9c4b70759077c8021b80232f0968793b1924bcab904adca
MD5 1ec8ae20d3644ec41c7b6b33e788135f
BLAKE2b-256 eeca927e27ff702369546458cafc1c75012d4d874d8663103d57b029c3d42f5d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.45-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d5cb283c3eb76c3fbcac14413cb907b3c7e74fe10a3a5668f9f837913b2eabc6
MD5 98956db34c2098c6d29ef2c1b8426a50
BLAKE2b-256 ea93aac7efde54a6fcda5e1fdb6fb3046485564acce69fe376c3922cbdd4edba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.45-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 99bcd72fd460b40175b650576557e4736f7456ecd8abc33d679cc45b4bbdb355
MD5 d52f9006725a827c615af553c5dd94eb
BLAKE2b-256 bf64e5c8de25fca76d9b6570d0636b6ea528a0fb70efc3df4b2b7173afc863d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.45-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e48e3301d3d00a116a109049d059ccc0701b8a889e61b2db13e0d95ae62a4c27
MD5 a122d2a94fc4e117baaac88662c481b8
BLAKE2b-256 4dd891f828ae408f93c7e136442414d5f6b74f280a9fc055a54106c2323af1f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.45-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 Sentry Error logging StatusPage Status page