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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.7-cp313-cp313-manylinux_2_31_x86_64.whl (772.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.7-cp313-cp313-macosx_13_0_arm64.whl (520.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.7-cp312-cp312-win_amd64.whl (530.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.7-cp312-cp312-manylinux_2_31_x86_64.whl (773.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.7-cp312-cp312-macosx_13_0_arm64.whl (519.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.7-cp311-cp311-win_amd64.whl (542.0 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.7-cp311-cp311-manylinux_2_31_x86_64.whl (705.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.7-cp311-cp311-macosx_13_0_arm64.whl (517.1 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 25ad743bbd87f8082e540d6ed31d564df265c179d725d51a7f9c1a25a9bbdf1c
MD5 cb885daccf2076e3587b931254b6958f
BLAKE2b-256 7aeff905a9de913f9afe50ce3bbc67fdc4b7d13ad66b9b0b4d4d17ad0ee648d6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.7-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0f47b5254e86395bb7035efa5b85a3adb6fadc7b505ef063af76de919d8b36c1
MD5 dc4366d493ba64e2a40c1789a7053f09
BLAKE2b-256 c44cf44d4e646ee2d5aae90fcaaec25d4700001dcd5488a7f0caff3aa306e47f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.7-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bbb5049f029a066102a4ef6ed1fcb93f673814f0afb16aac99616169031868fd
MD5 bcac4e24ca6bb8464f580efd868bc2c6
BLAKE2b-256 605beb016aaae0c26d67567af9db7d1cc2626efbb4f2a0cafcb523267253aa0c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ed9316d8bfc45b181fe6f5b03b1d0215c19577dc3d8212e868a344ffd7393ef0
MD5 acbf535ba6ecac598d6f27613ac78d20
BLAKE2b-256 b4c334f6c773f6d5a57e012fa1022110650cdc2a334e85718d37e19ad040aa1a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.7-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d5764ea3a57c9f383897f829c4a2cf8f157b681ac7c7955c23d47cdf88b819f6
MD5 1cec895870e6f7a605d3765cc0d9f94e
BLAKE2b-256 04933895cc0445ebd3772164c7974877ce831e3f7f046b2b9f2caa443b9fef9c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.7-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bc5dbdd722951494c68def615269448a798011149c3a74993540a95bdb9a6028
MD5 d08409c753b1d814d830b449a7a80db3
BLAKE2b-256 1a439963de47d84d6ad9a98f4d053929a92bbd716829527943d24c19b8cd5ec1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 911ec9d896f9521f304c074cbeb6c21828dd7a4192ef0bf99fcb3a1831f6cd02
MD5 8fdbd14ddb295906300475c1ef5df80f
BLAKE2b-256 68f71b749e58458ae3f4719445ed20567c592fa2cb3c1c79e972c79e7a3ffb2d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.7-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 342922665c0ecc1c7cb4e76df2a553c7745b33fe62ae4605ffb6ea675b731235
MD5 ff5d2ce0b3f16d42f1528fee362cdcb0
BLAKE2b-256 bb95cb6e173e1a9a1467c7876739f56d08539a03d0ea9edb16d73a8abd1826d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.7-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f7549be2225e1122b462a0c1ef6d81e31b781f02b1f003e07a643d7cd865d100
MD5 b7a862c963db3459f5271cca1ca62f45
BLAKE2b-256 6ebafd9699159b3b54c9872cbae38575bb6e1db6f81f75cfdb1a8119782ea344

See more details on using hashes here.

Provenance

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