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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.5-cp313-cp313-manylinux_2_31_x86_64.whl (773.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.5-cp313-cp313-macosx_13_0_arm64.whl (521.1 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.5-cp312-cp312-win_amd64.whl (531.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.5-cp312-cp312-manylinux_2_31_x86_64.whl (774.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.5-cp312-cp312-macosx_13_0_arm64.whl (520.3 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.5-cp311-cp311-win_amd64.whl (542.7 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.5-cp311-cp311-manylinux_2_31_x86_64.whl (706.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.5-cp311-cp311-macosx_13_0_arm64.whl (517.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4f46839ba156907cc09ae4720b37af777e62649fbb67fd8274301c868a76038a
MD5 e6a1bcbacef7052cc1f5f6c6a9d5c442
BLAKE2b-256 f38c3ef096e2f76ad84f1a4f87c3410e688ded2efcbd00d436e025b4ac1ba694

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.5-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 52078b0210c7760c9ec0c03b550dafe6135eeec771f9d398d0b88a5a43c3fd0f
MD5 c6cd55882a04a31bd1154cf6348511af
BLAKE2b-256 758e764e368e6dc48b45d44029fa4dc96b81087605399e7dbbb32fdc2a42d355

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.5-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ce4cb4d806277ee5d817f71ecff305f3891beac79329ed00f7ef38080eded659
MD5 d9faf6912d10aaa6d196c4b0b52d4ae7
BLAKE2b-256 fe202426b9482652fa1cd73f7c0d25ba1ebe1d203de424fd5a701b0915d83e9c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 dab56212fa8491a1afb338ef7e474d97a027fb1e26e6ac9026868f01100f97fb
MD5 b276821f3cdfc42a730200cb35d88a03
BLAKE2b-256 3b2263a347e6191f73418746e1a7014a2d64a746bf62dec897b30d9576e03ecd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.5-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 259bc0ead70e637bd429be73ea5987375f0d1c12d08070de5801b4d40f937f74
MD5 141cf21bf6d36f3e836a5241865a8972
BLAKE2b-256 36b95f3009211d04b9e8afff31d7ad1869ccf1fc830a446c7093d8b90967b543

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.5-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f0a4568db48b3a1a419dd975deacd110504fba9d618e33b460e2d923ff1c615e
MD5 a19c22775824543b2c48848b2d26aff8
BLAKE2b-256 945661d3092312d9329847583d0a9812c47ed1c9b39dc84d003dd3cc268bdaf3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a396f9856f5748250a2c07501007443ff0b6664d9c3c3360c7dd29c1d92f256d
MD5 0fb5421226a4bd668384181230f51987
BLAKE2b-256 bf4ac8325cc20dd08ab7b6a2510ba1eea6fb838c0801b41cb9314b7fe71900a2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.5-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 49a9c76b0abb1f66ceab8649b3b1398d0be0fe5c4d8fca8d2a6dfdccf2f67cc2
MD5 38895712138f1db4b397ad4823d12974
BLAKE2b-256 f17ac0713c65518febe35ad0ef5457c7981c1438d8da6b9ffa4e060a95b7b746

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.5-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 57e1cc5f35092f0ad7d7a24f4372c4969f1f7dc0be551f9c66a2e00643bae4a5
MD5 504b698a58b136461ac1458bd2f3b2de
BLAKE2b-256 2c5735abb505381f745b0587ab7cdd39897477954f908b3ccc81052e10feec8a

See more details on using hashes here.

Provenance

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