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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.28-cp313-cp313-manylinux_2_31_x86_64.whl (955.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.28-cp313-cp313-macosx_13_0_arm64.whl (682.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.28-cp312-cp312-win_amd64.whl (598.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.28-cp312-cp312-manylinux_2_31_x86_64.whl (954.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.28-cp312-cp312-macosx_13_0_arm64.whl (680.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.28-cp311-cp311-win_amd64.whl (619.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.28-cp311-cp311-manylinux_2_31_x86_64.whl (872.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.28-cp311-cp311-macosx_13_0_arm64.whl (671.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.28-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0d48e5098fd230bbe103284545386e5110affad3559c6b926351d372b9b1c097
MD5 9567a75ca4eb2602867df4a90964b6c2
BLAKE2b-256 54901b5827fc080c46c1d403952320f68f29d7b4a42805a6f7d9b6a60c9c57a2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.28-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b9530765a7e06bca74fb77c3423bf18d2b825178037076972e67346ae633c820
MD5 e8f0f41a327fdfa6934fce1d63b621b6
BLAKE2b-256 dcb0b9d77af74b1ab4791fa04ffe52086c5b495f9c158a67ea81b9aacae4a908

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.28-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 70ddacd252196a689fffd7ce0024369d5f48243082c477d7b2be598c1658d810
MD5 6b50c9c96386cf1bd007270439cf494b
BLAKE2b-256 3e424fb0df9b5feefcdc579d00bcf8873026dca1c210a47f7d19325579df6d24

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.28-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9ee6da1048e61f46a615ef13f050c1d47b2eff325fac5969f5fc69362d4c75d9
MD5 5f686e900574d5ea28fe272163aaabb0
BLAKE2b-256 c104f48a21d678462270899604c955a40dbfd401194b2696d7a1cae34270322c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.28-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f827a936d5764cdaeb6521d9d74b81a2c675f348bb68183b18e30b68b78b0ca9
MD5 4b2d961b37e043c9600b719afb166ea2
BLAKE2b-256 3e4491a4b2c614b5afe51cb731443bba78dd3907d00abb9bdebc9764447146f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.28-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9120ab76d10fe056102125d8cd82c72c7ae5eeba2932b80d5dcaa9fa76a85ffa
MD5 0da61fb1224c71af639da2af24a37f68
BLAKE2b-256 3c030e86ea67248f9e83fdba2cbc58a22fdbc28c86afdffa327553c9563a0091

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.28-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c14fa0546b6c7eb8aab285567c393a0e0a701f93626bbac3914d7e1bc2ca4f33
MD5 c2f71f4523d3fe36174b8459f52dae5d
BLAKE2b-256 d7dc1469c90e1e3e706e3dff52be1f54d5849a4255281b9162a4dd814392844d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.28-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1899e423a0bef88f367119b9232dd32df0cad29e9457619e0443aa5a46eddcc9
MD5 bf247451620f22ac79e2a253ec8e4c4e
BLAKE2b-256 129f948531635b125005da63bfbcf3261e68540b1adc900e92d0f697268dbfac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.28-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9b1e3212f2fe675426d4b368903ed3ec8acdd88ffbae854ffc20a59eee3b8d8c
MD5 3de526e5af7c88bad1cb3f889226e8e5
BLAKE2b-256 0af665cd72bc2c9ad3230232345e487d8be8d5dcbf4412269bd05276f5fadac5

See more details on using hashes here.

Provenance

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