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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.26-cp313-cp313-manylinux_2_31_x86_64.whl (950.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.26-cp313-cp313-macosx_13_0_arm64.whl (680.0 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.26-cp312-cp312-win_amd64.whl (596.4 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.26-cp312-cp312-manylinux_2_31_x86_64.whl (949.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.26-cp312-cp312-macosx_13_0_arm64.whl (676.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.26-cp311-cp311-win_amd64.whl (618.3 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.26-cp311-cp311-manylinux_2_31_x86_64.whl (868.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.26-cp311-cp311-macosx_13_0_arm64.whl (669.1 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.26-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c393e4ed35a495fa18774ef8c22257699f7da6b5971b96a45e6d465b05c6abff
MD5 3babf0aed952dabde423043b2d693419
BLAKE2b-256 0667cbfd05c151cc72aa4e9358d28b2384b61048b3db8da65c8e4ac589209203

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.26-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4e6f49ca6cc03731c80ec6204ec758a9936b0ff10084d2b1f666734373944bc2
MD5 ff2eaafb66b1fa36745739f9983ebde9
BLAKE2b-256 f6d4cad50cb95ab0355123580c6a55741c4566b2343f454643c0dcf7a664c3ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.26-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 83cc6275bf539bb283b0b9f60bd1dbf59271ae2287770e6eb0bbc7aacbb97091
MD5 f91b29a0865dc129c89e7f94e71dd89c
BLAKE2b-256 e7b1b547285eefb5f2ed24ca4cf8c1dd75efbcb4391b3e5744750fb2889b4f0d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.26-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 add1d937803c89f59c06b4a9f85a436b985a6a9a5566f6b8ae99d460aaf49acf
MD5 2dbc51ead247af9106efc9be2bb9204d
BLAKE2b-256 b9764a8cb89fa62fd43bb4ddd36512998fd5868eb8fb2fd9a97c0327a14721b5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.26-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a34e5d1cbac0a22eda2ccd4760d3e23b2c7a39641126d9ce4c1c067bf7fa14e1
MD5 d49c32ee0c61eea6b74f7fd5a46cdf38
BLAKE2b-256 c08b97bad10452442b9d92bbbc1da68846d851a293cde8d25d8e3833bdf3b574

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.26-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e713c33324dedf6ee5099b32f8e5792caa56187ea92b90d1500f24aa256e8877
MD5 3807bf570c9d7e7bce7241df71184d8b
BLAKE2b-256 78ca194a184bf1b0105a5f1421b3a0ae980b63919745a247939550702978e97b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.26-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1b1b70982768cda56dcf4f69fb4748040b7c604c5b3d45507c68b6b2a532348f
MD5 ebd481613481b67eefdd060e09d1cc73
BLAKE2b-256 66a19f70e8e3a86d5b93f9a24667f870622460505da90a33f5dd73a4246a39eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.26-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c5288c48f3da682be8d01d06bf469eaffafe122c718eb03d888c4c69095609a1
MD5 595757e9f6cadf6bd20d3093cc5efb6b
BLAKE2b-256 3c671a73ce8d84db7a3c47662206f6df9744138b04d3cbc26358f8da18aa9618

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.26-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 db154338f4cdf0ae08ecb662d4f8730bd2ade85263fe02c4b8566e025a7f187f
MD5 5cb9e85dfb2e6e98495168e18da7fa17
BLAKE2b-256 03527b54c1f44874a08d521592a4e76ba6b5aea9b2a12c53fad2153fa6b9fc21

See more details on using hashes here.

Provenance

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