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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.31-cp313-cp313-manylinux_2_31_x86_64.whl (958.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.31-cp313-cp313-macosx_13_0_arm64.whl (684.5 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.31-cp312-cp312-win_amd64.whl (630.6 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.31-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.31-cp312-cp312-macosx_13_0_arm64.whl (682.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.31-cp311-cp311-manylinux_2_31_x86_64.whl (874.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.31-cp311-cp311-macosx_13_0_arm64.whl (673.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.31-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 fdf79be6e96fd27b62198ed1675fcd3848efd199cbb5a3d73435819558cc10d1
MD5 4b17a6236521717b7cbb81c543a7ada6
BLAKE2b-256 180cce1e67da186b27c5bca72db56ce53f265167a126f54e4ed3cfc2e0f3f79c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.31-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 aec4941f885a224b19e102ce0204dcf60b30b85f66a3c521dff4b1d3f8b863e9
MD5 52dbb230c51b753de92e5f375e99d9be
BLAKE2b-256 8bfccbce8deb203b2a6d8029b73e78e5a5b3bab72a39e871e5576c5eebb9b9e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.31-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e810f11ab1ffa1256fcb3098c571bfd656fba9d9405ff4747c42ed58e59f6f04
MD5 485000f221fb721bf13da7e991fb01ae
BLAKE2b-256 4234dc731de977df27c8a3f3bd216f77a2a949082ec0e1c96ed6541201d01466

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.31-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6085f5468055ecdeba6f262d29e7f6aa8f04e9294688538b57e5cb30fea2d7f3
MD5 9db308dc62a3c3b04394392f8ac370e9
BLAKE2b-256 a0daafaeaf7edd4282c563f93344d059e3e9b2a7555dafeed7356378d730d1b1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.31-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5044b44ac98f1ecadca3e114434c53245d29f3d2050d7d932d510e787fd6acd1
MD5 2d22efeeee75eb7e0242d7a205db3ba3
BLAKE2b-256 5cc944fa7a7e191a6a6fe00b07ef560feba8cda68a2863708fca009789ad66a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.31-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1bd82cadbb68ff606b8ab21a131a3343f88c9242960e91da18b51d78d009af92
MD5 41e2260c96dd247ff70660bbbbeb0084
BLAKE2b-256 b41b5e936a8d54d7a6280352672e8a92731eb725cf5e1451515bd6d6252a65ed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.31-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7600ec9384d9b9f7827063fa43156fb8c6572bbebb76d7c3b2e51e48ef0dc0e4
MD5 3e0eeef4ca26cc1e2d53f71eb65f2bfe
BLAKE2b-256 bb5cac89d508e1a0868fdb06b01f65074b8ca2c5f5ac584b8ab8da28a7bdeb86

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.31-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c60ce443c223d68d08667f310c815d919efba93970da7d318a3dfe3e944fa41f
MD5 d6632abd4279c1ca6b6423a389e051a1
BLAKE2b-256 9ae1bcc85cb584c13cce2002f2c27ad321bfaa124ee864d99895d10665fe7697

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.31-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cacd6011691f1fa493a34314132bf1195ab5674caef50cb4155910b106eb6a46
MD5 520bb4f4478debe2aad0d8a0cd69d826
BLAKE2b-256 b06590e23c000e0510ab4b8c00b21decb0e0b823335122d421e141662a545998

See more details on using hashes here.

Provenance

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