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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a201f7c845c15035e3f8fb9a24681368808d211ce8ad3b846195a1af42c1339a
MD5 b6ebcd319e3e46680aecd3feb2cd18d7
BLAKE2b-256 0d93bb366714788c549a8435f25c119d9ff7ea5862f1e1fcef51eb84080fcd86

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a5beb5c0d3676bc2106a3722acc6d0cb52fb68b42af303071103472f402c7a6d
MD5 bfcdc764ee8677d57aa5d8e7022a6dc5
BLAKE2b-256 aaf4389991be3d679e055619a54d06ffb606f1518db95527125b82f7a9b0ac07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5849547314609447705b1c865ed4121b9283c62851bfcf2b9ca98f5a126b99ca
MD5 75c0d7f98bb2665a78dfb1299fc5d6fb
BLAKE2b-256 bf05eb7edc2dc59ae18f1637a54a074cd93ed491f3544deb9fb57bd250361d62

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5ec1110c216027a9573cc5b04e703d5a0b79256ba77339e3f7ff4bf9808bdf02
MD5 8cbe11903cbc46b4c8d08727c2422813
BLAKE2b-256 16bf87f75d67aeaa0f1333edb9d805999a91ce2afba932c6364874b6f7cd8550

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1fcdd80ec3e55a5f2a3413e9430bd17781caeac4c4117dfa613840c6cfb5face
MD5 04dd0b4795d681d1ef9ac31020651e9b
BLAKE2b-256 716413b2685af238496514c77393ff080909898441f435d994bc9816d2187f81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ec102ea4fa063fed3170906b9242419823f14a2780bf22f528c4d8302cf300ca
MD5 d200f645c6a1ab94d1803b25fe2ff9e7
BLAKE2b-256 3c5c24c419f3a102bafc3ec893819129c45fdaa83176a970e3fe2a5a532b0241

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f67be98049c37b05da66c1ad804bf78fc8eafaa892eda5b928be292eeaa4a0cf
MD5 d5ad6a7bc276243411bc8ebbb1f7238b
BLAKE2b-256 109b066c42be184d5b41948f34c395a1f1bb6c60e128a1bd3b61df91c1962ca4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a5f7f00ffc3b2dc17429f86eb0893bd2f095b8ad73679127d3453fb39448ff14
MD5 2601fd6ef8d79a2a9f67943e7b62d22b
BLAKE2b-256 4a40a0c0d8ce932b3829a635c923aaafa89491825846ce9a190a4f40d4c06101

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8fd0581b2c16ee3d4f58e1c430fb406a144efef63051afadb9dc4f27cfd5ad4f
MD5 2128ac41546af4117171ddbe555679dc
BLAKE2b-256 0a84cab66dfab29c4d3a07ce45bffaee3e399ffd91df180346befbe73c0da414

See more details on using hashes here.

Provenance

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