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.23b2-cp313-cp313-win_amd64.whl (537.6 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.23b2-cp313-cp313-manylinux_2_31_x86_64.whl (874.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.23b2-cp313-cp313-macosx_13_0_arm64.whl (611.5 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.23b2-cp312-cp312-win_amd64.whl (540.5 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.23b2-cp312-cp312-manylinux_2_31_x86_64.whl (873.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.23b2-cp312-cp312-macosx_13_0_arm64.whl (609.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.23b2-cp311-cp311-win_amd64.whl (558.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.23b2-cp311-cp311-manylinux_2_31_x86_64.whl (797.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.23b2-cp311-cp311-macosx_13_0_arm64.whl (607.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_core_binary-0.4.23b2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 de3d9f309b248073ca8d7ffad2ca0e943a4ac05545705165c772c0d2e94be9b4
MD5 2a8f0ddee2162770442ff59d518f020d
BLAKE2b-256 07f123ddfa4a24a12605b1a366d72d3b4c988d854a25e6084916938e1c021b65

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b2-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d440e22158ea21e2624c08552c436ddb0697955e392f87c5b859e9a9c23ce59b
MD5 cc85050669ca760b11fce6e0f5627a16
BLAKE2b-256 4ae6af19a8aa1309dba53b6dbd6a76e8a8c04507476f6cb54b671b114bc3f41f

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.23b2-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b2-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 71ad773748d6f39961f7afbbffdc644125ef3fa5d660cc4baa5683db844c34c9
MD5 4c7ffd01305bc87e357a1e24cab6a446
BLAKE2b-256 bf5489a7e5dc3b95bec3a618aff6daff5462a8753d2e6f197d8170db4787247c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3464561c77811c59efc7e126d192aad57eb04904462c8395263ee2e2bb3bd6f6
MD5 37060b382a19b9c39a24c81e05016d1d
BLAKE2b-256 cc72b9bd5467ffe574d3bcce912a42f31b4a9d1fd17b526e2fe61e43af39fe33

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b2-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 86349a8e382c380ffcccdfb0c20d19de68d57220cf93e438f309bef5044795bd
MD5 95adc6a7171ae4d491e3e189eec3f3d1
BLAKE2b-256 c4504af681eb8b3b35e6cf95946e8d3804cd5fcaec559bd9448806d516aad6ce

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.23b2-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b2-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2f180a81b7467eea1852add03191e5da4dbf1db8921e75c11e39fae3d7fee672
MD5 b0d0fac0cd1b47a8ba77442ff73cb242
BLAKE2b-256 286b9208a39c862233c03f7d5b7a5838ed388406feda4ca8db5b8021c7ab3624

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 23b613c7bd44cd26ac62939ac6f6c5016d56f49635b53dfceae96cba9d218b3b
MD5 eeaadc6c1ed4996025dcd44941291613
BLAKE2b-256 8cdce7a1276f7e2a6a6d75970e9a9fe53ce8cf699a8f9238d79281f341196c93

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b2-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2055dba6965030ab3adb091814e276a095fca3ca416438d4495851333959a0cf
MD5 88cfcfbe4cd11ae106b5432a5060ea2e
BLAKE2b-256 b73ae8fd4764c3437547b66e9a927f3cbb855b360f3e4b2dfe83204c54d94e8e

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.23b2-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5ff86f85943afd9cbd088aeed46e3c334e99545152bdedc34995c52ced00a416
MD5 3ea0f312af65c89b3a57573d104c29b0
BLAKE2b-256 ef2283a98b8d8d1cf35c8535422ea8eb508e554e201dc1cbe407fcab3396d14f

See more details on using hashes here.

Provenance

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