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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.6-cp313-cp313-manylinux_2_31_x86_64.whl (773.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.6-cp313-cp313-macosx_13_0_arm64.whl (521.1 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.6-cp312-cp312-win_amd64.whl (531.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.6-cp312-cp312-manylinux_2_31_x86_64.whl (774.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.6-cp312-cp312-macosx_13_0_arm64.whl (520.3 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.6-cp311-cp311-win_amd64.whl (542.7 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.6-cp311-cp311-manylinux_2_31_x86_64.whl (706.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.6-cp311-cp311-macosx_13_0_arm64.whl (517.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 3e325ff7e7892aeb410a416400722500d5c437fbb0356a98f0a6b3e22cf62d2d
MD5 7b2e9fe97b7547ba2c3b07c9abcd52e2
BLAKE2b-256 f274b40ab16d56b6557f99e09801bf9420753c0e73b8e58bfe15d7dd77259e8a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.6-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 54329f972478ad7bc0000c55855591ede3cc8080af6e925f26721bbb71ebfde7
MD5 ea245e3de9a027797bf8bc42dd503376
BLAKE2b-256 b91f996adc9002406481519f02e50a6eb43e526329a4d27ecbbddcf93882d16c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.6-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2ea14c0c9a7219593967ced70bd505af9c08d2b3ad85dcf8364967a3495dfa90
MD5 f792fa430d5633827e1d19d0cd174be4
BLAKE2b-256 398935756f8a69d2953cafd604fbc2c621eb5b410509eb45e6c42a537adbd043

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 17be8bcfff54788050fad0debc6d209b92032d00113078b0d0823769d7503e58
MD5 c28fcd969813bd5aacd0a34f99d4654e
BLAKE2b-256 80ec39e9612841f5d270be1a03e8fd4f71c9cbbca29f2c34efe876c1f4229a77

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.6-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 174dececcf1bb9e73aff672a1a350a89bdcf0a1cc147f9665768f7f07cc59833
MD5 fa0cc5716356f9bc8811106074f9e80f
BLAKE2b-256 c38939d04c04d8c438138d591b8470172944d2a6328573f5169d991f65c75e65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.6-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2f74adbd07b13e036813abf8f88dbe6ae2452978dcbe4ea93f594765a0052bc9
MD5 ab260df602acaa5d931f4c0385745438
BLAKE2b-256 86950bb496d300c4e802d12ca0e0980be23ec9eeac60d24b86649d35550db825

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0ea491f4a4495b2c0c4121c625bd32a6e1dc6a0856f7f8456864ebc0a3dc89eb
MD5 fcb2cb904595abbce746eaf52319ba98
BLAKE2b-256 715f841605793ff4192f32de3a3828f278487b0daabdd031f47c5cbcca7d9afc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.6-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 737e6d1a6d223cd913db9cbaaaee4f00c7830c7218f038647c8547367493f01f
MD5 53aa5d566373d71ab860e06a6f5b7f6a
BLAKE2b-256 d57cc34df4d6b3d59a85e58cca946df26ef066c8e00eb972bbb173213d5489a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.6-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 68915aca45d62b63ffb3c0a60bc4c29a7ae20a0d8956a5c8197809c4b30ef174
MD5 f8cb8f480dd9ac41673dcf283dbb1906
BLAKE2b-256 98b3116c4c877f1617243149f1e10ae5e7a64a657a9b285ad2de14294715012d

See more details on using hashes here.

Provenance

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