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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.35-cp313-cp313-manylinux_2_31_x86_64.whl (972.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.35-cp313-cp313-macosx_13_0_arm64.whl (695.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.35-cp312-cp312-win_amd64.whl (641.8 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.35-cp312-cp312-manylinux_2_31_x86_64.whl (971.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.35-cp312-cp312-macosx_13_0_arm64.whl (692.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.35-cp311-cp311-win_amd64.whl (665.7 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.35-cp311-cp311-manylinux_2_31_x86_64.whl (885.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.35-cp311-cp311-macosx_13_0_arm64.whl (686.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.35-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7aa190d8ede88928de2221a551947916e11ffb90ea531ea7a043e7b31493d7ed
MD5 917a07bfe60bb01e567a395b8c5359ac
BLAKE2b-256 6be14d61dc1e7681640c8885f00e0ef4892d2d2980ec9bfed313b4b4b50b0278

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.35-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c48c79a24dffb8c6551eab11d7787a05de732aeda3b9d9f8a8507b2de3ff73cf
MD5 86d1e1cd0e022babcc07196338f595cd
BLAKE2b-256 bc9d6bdec93d5bf91c008a31313d0e7d42fee7ac42b36e46d02e35f1113bf36c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.35-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f0f594bb6a236ce326c0d2b543d9946c6ab1ac0606e59379dda6b857de6d6462
MD5 d0f98f218f14736fe8cd9c3b42c0dfac
BLAKE2b-256 4b4ee058f1aef96ab51a50fbdcf012380a7919565c49aed1d76e11d8cf1e508c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.35-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 64dde6f8e90d719b8c4b7ac1279c9fd825808dce8138f56d1d02045d1271f1df
MD5 e900cc0500e95c25f5afb358cc24fd64
BLAKE2b-256 ff7c1687d5ae8feb866b6164ecdd750ba13bde446d1b5b6faa86b2f5544b5520

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.35-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 13b8041e6ff85ae25d3ade0810a711627ff4a7f74d0800b704072bccc14e1de3
MD5 a00c08e44b7a7254adbf27c291fdcc8b
BLAKE2b-256 03d25f19f0297de51b521cc8fe2767a77993d22ce99e6a3b48b30f4b810e4ea4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.35-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6ab94cacffe01da3a2347a7bade96952ecd58e22551c42ae80d909d0a1291890
MD5 eed3d0bcaa1d38311f42d0f056bc7ecc
BLAKE2b-256 f75ed0340136a4a529f48d5939c5ffc712943c2bd6e854184c1a93dc66af0a94

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.35-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a3d368f34dae503807206c8c854f8f192f6b29e28002a6f2a4ad58a6e01cb88b
MD5 2fadd65e36ba4aeca56a57a4d00b807c
BLAKE2b-256 0e250a402fcf0fe737296e9b87d27859d0a159360af5683047cb1ba16b6aacdc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.35-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d56cdf7f9163b7561fa12738827b4789366a30d4f1eaeadfab96b6abadf3c8e7
MD5 e31fd455bb60135be895cde794d89af4
BLAKE2b-256 209e31dba8f0e58e40915342fc79e2e13ffbc6d55bbe91caa4d621150f0c2f67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.35-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2bba45d746dafe1cd43c0c93ae7638ea019a7b3c0ef9fd13d2db1089dc3bd413
MD5 7a8222d721e4f169476720a25058a6be
BLAKE2b-256 e52923a7194b7fbd70b468f8187c77764d6133dfe244ed86c7f61beac910c1cd

See more details on using hashes here.

Provenance

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