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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.10-cp313-cp313-manylinux_2_31_x86_64.whl (776.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.10-cp313-cp313-macosx_13_0_arm64.whl (523.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.10-cp312-cp312-win_amd64.whl (533.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.10-cp312-cp312-manylinux_2_31_x86_64.whl (777.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.10-cp312-cp312-macosx_13_0_arm64.whl (522.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.10-cp311-cp311-win_amd64.whl (545.3 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.10-cp311-cp311-manylinux_2_31_x86_64.whl (708.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.10-cp311-cp311-macosx_13_0_arm64.whl (520.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.10-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4f827077f17b93917f0c53e9948d2e8b60feba1e9a6f49b7090c4c3fd2b145d7
MD5 acc7fbb4c949caee12b39a8c18a9388e
BLAKE2b-256 b468907e928aab6d315a61fe2c2142bb274da700edc68757570c9613eaf2a84b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.10-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5843c4267182ede71fe2e517c1da8436f795d03e50ad39472c0d4572a3dbdccb
MD5 f59cb337ab94f2e280d0c6e9fcae5995
BLAKE2b-256 3423b31f9e9eb1cf388d8b16cf05d0798563b8ccab144eeda8bacc1cf1dbc308

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.10-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c0d1542d97dc5d6b6c61df3926d6d54da590f724ff4394ca2f93faf43aed5655
MD5 9cf3f1ec5ba508e9223f9f5b7a5b8e09
BLAKE2b-256 710d7d651c76cb3921d6d116bbc51d706ac5b4de95d43c2460f4ecf73bfa91bf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.10-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5ae57627805b995b0a7b7815a8fc4271b3c48f477cd8800b62f8036c273d3efe
MD5 a85f450ea5d00e38963317b092a47ab7
BLAKE2b-256 1fe94d01fca97232efcd778ba4f6c23f9a9a944afcab4a9a44f420df8f0139d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.10-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a5d1dc454779776c236692f5c661ef3ee33d8d51a7b28ac1cd33052a57f3668f
MD5 27e3e67a09b20ccba7344023ec7d88a4
BLAKE2b-256 752eb977c2fdc2a618f8529420a361155a38b4613a6c06d20adabb5b4ba056a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.10-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 67698eca8e7de692e8c047606e1584e726910050bd91ffbf7813b756ded3097d
MD5 22d56f055b882e8defe755e6c68d5730
BLAKE2b-256 1def931cff4279e450b029706d9508ba548ccc8ea42bc309acfd2bdf93f61bd0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.10-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 740232aa0621a71b783e578f085bdcef570c7d1b8bdaa40bea1ba2131c202945
MD5 600b62216251698f3a3411e43a709607
BLAKE2b-256 b68d55dbe1572e6cbd1219972bb478976667316338e0babee15f412a9502d37d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.10-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f72a36303efb39e7588a00a3fba7404911f9b3e9a60d72272240b363a859b689
MD5 a93d0bec68f64e52388e6baa18edf6c5
BLAKE2b-256 2a5d8a3009f3a8c148cef9a43d6af780c0b5b25aabf0712afe11239415ffaea0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.10-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2b48b061c04eef5e3de1f280879cee82712a8da5027cfba39265927328a8a1d6
MD5 255efdd21f42b647ed1b9344c3e7db33
BLAKE2b-256 89dc642a66ee2271fc285b840a3a14957d79c91810d007b6c9321c929a4da7c5

See more details on using hashes here.

Provenance

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