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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.30-cp313-cp313-manylinux_2_31_x86_64.whl (958.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.30-cp313-cp313-macosx_13_0_arm64.whl (684.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.30-cp312-cp312-win_amd64.whl (630.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.30-cp312-cp312-manylinux_2_31_x86_64.whl (956.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.30-cp312-cp312-macosx_13_0_arm64.whl (682.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.30-cp311-cp311-win_amd64.whl (653.5 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.30-cp311-cp311-manylinux_2_31_x86_64.whl (874.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.30-cp311-cp311-macosx_13_0_arm64.whl (673.1 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.30-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d14bc0e44815c14dfe2abc297ec366a87f4038eb9686a18735cd98188e6a2e32
MD5 9a66db0268bd6925ec5fbea5ffe9ef57
BLAKE2b-256 7684de8b1b51def1d64ad5b9399b1a7e779c6dd492b3c8c9f89eddd0405d5578

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.30-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9cf479a3ff9058a2098806313437ec2ea6387f77dfed7c7f97dc451163e00eea
MD5 05657677aa9f61db6a62cca27a05c1ab
BLAKE2b-256 fb56e9983ec6a67338524252fad09443beb0e54c3054db2191c690199060d824

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.30-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 919066a0470b2b321d8a671c7762d584c7a814dd7e7f4d06c2e97a062e113eb5
MD5 7732c4ee66606432d1f07e649f39f5f7
BLAKE2b-256 319653d9205a2d9ccda3bf3d888cda844445610c441680b8520d13808ba898d4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.30-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 208687ce8c6f11d08acda7461269385cd1c0deb33add0a04d8be4602aaec0637
MD5 c47cc881897f5f609f8c890d04ebd7b4
BLAKE2b-256 a8a428dde4e754784d1fe8a9165590d4e87b5ac6a4a88bce0a59e2371af7dbb6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.30-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f1f19f38081050cf7822a138563f57ecf4a825046e24d0b70c04640fbddbf4cc
MD5 1fe6e77c69c99535012f2763ff76da8e
BLAKE2b-256 aa02ff1b0b7cf97914cb0d969850f6587581dfa087ae3452935d63ae1d374f8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.30-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 328b6a1fe180ad47e0cf4a382cd50c2bf61c1a1853784d96b93a39571f433576
MD5 f94d0749abccb2ace68a0fd24c09b07f
BLAKE2b-256 2d984ea265e47515e35d30ef2395bfda7c574f2a5749283d3d41e7cbb83cd40e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.30-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f48f1d15959ea41a03f0e915af9ed8ad405482c5491589e24ae26d675cbf0c69
MD5 b0e52970ffa533a7548aba2a5ae19700
BLAKE2b-256 f19d9805ca9a279b86deca9467bd24cc29929ed27ebf336c1bfbf7b35068408e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.30-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 487d1461d3e5bdc1290f861bec986ee1da44e647d347df8eab6829c4a580f3d0
MD5 ee62781f41ae5d23d4a19d6e51f2f71c
BLAKE2b-256 9a764e4341535377d99f0afd7981c7d915999abcec2e9e66dbea13a3d80fa7d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.30-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 14ec1baee741aa7a89faf207b6ae8af7e89e8c490fdbf3e3c671bfbef872f0f6
MD5 2d862a27f30746916c429065eb9de32f
BLAKE2b-256 a9fa3ad7f02924747e6fcd3d63b68d5645b2873c378dd4e0b0acdb38ac54e70c

See more details on using hashes here.

Provenance

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