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

This version

0.4.8

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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.8-cp313-cp313-manylinux_2_31_x86_64.whl (774.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.8-cp313-cp313-macosx_13_0_arm64.whl (521.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.8-cp312-cp312-manylinux_2_31_x86_64.whl (775.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.8-cp312-cp312-macosx_13_0_arm64.whl (520.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.8-cp311-cp311-win_amd64.whl (542.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.8-cp311-cp311-manylinux_2_31_x86_64.whl (707.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.8-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.8-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.8-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 98867564dbd33733fc3cb7bf51a7765ed5216c63839c7dfe00f4cac5581b908b
MD5 86edd1c0e8a93ecfce603412be85ae19
BLAKE2b-256 24e065e0757b6c09eeea605a2c0fc920f43e477573c307fcb8ca20831e0adcac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.8-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5dd325c84cdc19438a76c1113de592efeba8bf2be36bc64fc2feb47b04bba302
MD5 6ea4095bea7770de5b342eaa44c45c43
BLAKE2b-256 2dbf2f6dea87b695934ab1c8d16645161d76d9bb508afbf29116c0ec8b60e89f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.8-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e9113437449ad843fb44c248e835b025909604593c33e0c208b3e426728ed067
MD5 ee0894b001650da307ff62c9529de72a
BLAKE2b-256 d42368c67a1de35ffb3a03f4d95e47a8504bcbfb88a8023719e1b2848dcc89ac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ae998d3ecaf21c082eba0d178260ca43270e4bfeb92890f8070ff6ce6fdabbe8
MD5 809be391c4d5dc3e40a9f85c29a91ca6
BLAKE2b-256 d57089c0276b4fe3238fb281d06f787b69a20be0d22f53d5d293b641241d232c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.8-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 bf4cd6d62b3046e6a22a1bd199518e5168011009c7806a6c5f1cfc60bef96bb3
MD5 c14dea489f9420d6b10bfd7c1071ed20
BLAKE2b-256 2e6c15f8b64578f99e7c890a21b9ce43b34e6f80d7088f4bdf5fcf700aab209e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.8-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 91372b52044ecb52e7bcf6bc6c24ae6a609b921f53ee8dab784ccfff423a9911
MD5 4d39cdd9dd3c3b652206a33f18ee6e69
BLAKE2b-256 3fc7062099905eb4219c159b05f15d671f4a3dbb021bfa751f64274986feec30

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0df013bca181af345bec842fe51d258e362e1916223332f10df48ff69d4fc49a
MD5 9805a280d76c0c4aa4db89ddc8cdd014
BLAKE2b-256 ed01c9a39ea215df3717fcedf942060c8f235bd8016b0610cfb506ad9e582ce9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.8-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b10c5d389f83b7a704b31eff82e99693a975483c20803c6e6063777fcda57cae
MD5 6e361cd04f37cc627b0e1bfd2549ff7c
BLAKE2b-256 12ba8379df2841bcf9083ed996cf71f453fee2a454a6dab8aabc8a1a6120758d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.8-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e60e860f74293ff2690f36922a2b5354085584ad0dbd850087125b099523020d
MD5 0ff8932390d13012451c691ab4ac71e1
BLAKE2b-256 ea0ae32a54dc84846abf23f2b7bb52a5314b00d0696f26c89617f4701c471041

See more details on using hashes here.

Provenance

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