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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.15-cp313-cp313-manylinux_2_31_x86_64.whl (794.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.15-cp313-cp313-macosx_13_0_arm64.whl (539.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.15-cp312-cp312-win_amd64.whl (545.2 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.15-cp312-cp312-manylinux_2_31_x86_64.whl (794.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.15-cp312-cp312-macosx_13_0_arm64.whl (537.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.15-cp311-cp311-win_amd64.whl (559.1 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.15-cp311-cp311-manylinux_2_31_x86_64.whl (724.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.15-cp311-cp311-macosx_13_0_arm64.whl (528.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.15-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0a9b8995ff5dd4625a771b5ce2c2bf90301b4447f180ed9044e425b0eeb1c974
MD5 52b5a0d87f0a89865cbc9143cab78569
BLAKE2b-256 0c647df4928385a0109073d701ffa71ab88e4c4f9d5b10c9ffc3514e63c6b253

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.15-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5467defccb709655900524bb6dfde10df34c69f717b481a7e6816042ea93ce44
MD5 d9c9887729145d964d259af965bfb67a
BLAKE2b-256 6fa14cd52168a91289b3930a8abb6ac6eacdafcf868ce961deff1970aea71f92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.15-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6a0a25f4f7954b919f70f0b9cec18b8ff8437b8b55acb381ca25fb19258205a3
MD5 0c1d4f1f727eaddcc2dd1699d1baeb9b
BLAKE2b-256 375fd49b4fd6003d134ed7ba845e318434d2f4f47bfd792208a8c173115c3523

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.15-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7c82d8d45761cee833cf98865f6043387cd369959d597211c917be2ceb65a6d7
MD5 5f8042b10721c78beaf0b935bef29db0
BLAKE2b-256 5e2e204252ec6c5533baae9711d20196d7b16436eb864962128824ac3aedfb93

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.15-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0de8c675a2dd9846e099321142c92faca7ef285777c5d2c9c45e8223612295a7
MD5 2d97835d5e4437b4520e427ff8174408
BLAKE2b-256 64d91aac90c15ab42d345602f0f3d494692139d793a9e53fafc0006497a8abfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.15-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cf9fc4e3b3824543e67a64a6f6157b5fb7a0f39b2e2a5de893977249a3105ea8
MD5 9a6ac1bd40532fc116323a48079fd25b
BLAKE2b-256 0fffc92d19e7802f406ba5fa38255a9f2656a7ba9c215c4d8a671455689691be

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.15-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 23cc0e642f1abbd57babafcbd171815833972dbf3dd99b3dc9a28dfdd6ca300b
MD5 5f36a074bf1f1f9d5c9637414cb22dee
BLAKE2b-256 d86e5d9d92d85593497d74c0f0a189b2b5ab1491ed3f50479962c00557e838da

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.15-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6132471711aaa51212d82a8ff839433d73eb1b32c12ad9a5eca27be496c12d26
MD5 5b34b32c3ed971fcf470a4f492726299
BLAKE2b-256 9aeaf8613269044ac7b7a2b05e90c17cdce848aee830ccfd6a9b93153104dfd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.15-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c86c67ff4894d938fdb16d1b85bc95299750b2a9848a78b854d245f9b3ee5dfc
MD5 48c672170c80764eff46e4043ebfa658
BLAKE2b-256 b9cc9b051f74790aeba50e554a0ce56c1e09bca9da8e18582e662b2c755126ef

See more details on using hashes here.

Provenance

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