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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.21-cp313-cp313-manylinux_2_31_x86_64.whl (836.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.21-cp313-cp313-macosx_13_0_arm64.whl (574.7 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.21-cp312-cp312-win_amd64.whl (576.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.21-cp312-cp312-manylinux_2_31_x86_64.whl (836.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.21-cp312-cp312-macosx_13_0_arm64.whl (572.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.21-cp311-cp311-win_amd64.whl (591.6 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.21-cp311-cp311-manylinux_2_31_x86_64.whl (763.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.21-cp311-cp311-macosx_13_0_arm64.whl (566.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.21-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e194354335b659bf9abc464296de58344696a374a3b39e311448e7a1b541b807
MD5 f44517e0a787596fa54aeaaf59b253f2
BLAKE2b-256 4892847a62832a34e65d98de547958398cd844ff8ca450fffbb1b35653ded682

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.21-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9ca65df15bc90b534b019d1907a8ffd36d6d622faf1f1773cb63c2ecfed25663
MD5 9edc9077cbff5707064791cf3b351710
BLAKE2b-256 b58121bc0cb5c45f4335113ed97560d1e8d43203b3f5998342ae8b8e64b87478

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.21-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5bc9eb2b8120bf815b0b7663e61636e15a547214228d727ba9c54fab40aa783c
MD5 00eca6335e995e4e6a15001dae4bdb02
BLAKE2b-256 75e66af10f1a0f41d5da848634122099c0094365437a051b697d7ef06cb74fab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.21-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 677f2e30c5e8417d0257254765ab273512a0ca696740ca75f3c424d02d7ab6d9
MD5 ed36517803545b72f0788533b007fc81
BLAKE2b-256 abc5e4db0658ce048bbbf569baca723e586c0268e6d4111d3e1dee84fb936bc0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.21-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 163cde9c8e5734a016085da21508b3d807a027b0b462097710a0001ca08f3da9
MD5 e58ec9cc9121c5b92a62fbe4eeaae79d
BLAKE2b-256 62f52351e5d9ce1509d435aa0f795be6ccb9b4b852f0da31a2b9209a410d4d6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.21-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 492926a3179135cb3b0b63cc5cb06af67494ed7380b24509ee2bde53f3585e07
MD5 cc87b44592c4da7a7df05ff4999a5b67
BLAKE2b-256 7b33a88cb92bc0b1980a9550cb551ac6b649c08b9efef968edd7a338c46cad21

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.21-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e810ae07fa53ed47966fd0e804af489a536edaac9071a272535ff251b489735e
MD5 5aeb9e761a03d5d53d49b8ae2f034e1c
BLAKE2b-256 c3a53dca91a7f62516f4258b515eb71f5860fa92757004139713b4848ca320aa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.21-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a45a0e0bd3935ebebb91174ab5b354d8f833b7fc8b715dfd54b9ef9ed1a3dfec
MD5 4ce5b045681139053e5fc6bacc776790
BLAKE2b-256 9d39434da6c288b3f8c5a0c131bb45c1bd9e835c895c8b4c0874c8aece17a213

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.21-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5b1167eb26bfac116e835017c400136b14d1cf24e70100dd2c61dbc0c4551bc0
MD5 b131f4d3a800a425684187de3831297e
BLAKE2b-256 711279c7347dcb016e484a714a918c818bee74c0509d7ee0278c58668b1a1fa7

See more details on using hashes here.

Provenance

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