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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.33-cp313-cp313-manylinux_2_31_x86_64.whl (964.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.33-cp313-cp313-macosx_13_0_arm64.whl (688.2 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.33-cp312-cp312-win_amd64.whl (635.0 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.33-cp312-cp312-manylinux_2_31_x86_64.whl (963.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.33-cp312-cp312-macosx_13_0_arm64.whl (685.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.33-cp311-cp311-win_amd64.whl (657.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.33-cp311-cp311-manylinux_2_31_x86_64.whl (878.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.33-cp311-cp311-macosx_13_0_arm64.whl (676.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.33-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 122a44cffdda9891aaefa7c53b8adc212974491fb25b3d890aadf412162305a3
MD5 492b2346b273fb0c80d611f506948d3b
BLAKE2b-256 348f1007675382b7add6dd75c9191d8b07270ecfae01ae5bd411f1615488b000

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.33-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9bf877a0715d1ef4930198ebbef33ca01eacd873bd82517c90e1644dde89a13b
MD5 834052c8abec1b5a921a505bf2dadb1d
BLAKE2b-256 5a61336384562375e8974c68a20542e9dff312bfe5761c195529a1396c90d75a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.33-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b65ecee731805fb0abaa14624a1c7dcceeac9f95db21777335a1d40f0e6dffa6
MD5 8238f6e23f3752e78ff53fa935ebb96b
BLAKE2b-256 35bdb6f965574dffe7beae3daaab0fff2830e63ceedd6363c2f17f9898c5e318

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.33-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 bf30040f0e519c4e2e15b551621d9bad80357269d4b745f28edcaa93206c046b
MD5 58b2430dc3a6f4f39014dff555380ca3
BLAKE2b-256 28e9a78d41de5d0e73bdc6b3d55100c821ed320283d5f524826dd137fbfe08f9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.33-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 20075116c653e7b48ad00c49d8d5def4ac71fa574621b8c5385541c0788a76cc
MD5 8b6999601dc51754e633ae992c903561
BLAKE2b-256 038f667fffcaf1f3d921af99dc0776dfdc22eb5e0c76190ee4ed5e55d182054e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.33-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c95457a015362e383858ede20d834726e9687538fe74728d5f950ab6f937e2fd
MD5 04e48bc52b35338fc20a4dbda2dda319
BLAKE2b-256 d2db5a1efc6381b86691f7d0b6a9413f2c982aa93617f2fe2d1e83d3d52f7185

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.33-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 363cd6eaec62fe29ea784af0b5402860bfa2d504caacc44bdac31e60771c931e
MD5 71758f57ffde2890e5f9cdc053520175
BLAKE2b-256 8dacd6cb69c54ea3604debd35efdcbf1777aebfc09b4d468f6eea289e433f6d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.33-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e11d3b2893f37c63204f3dfe78ef9ba495f727d2847ae0809b5b11010ca31edd
MD5 d4f8cc0ae16933c619f0c62d288c17b3
BLAKE2b-256 6b005ef735212728203352b94462acb8010b13f7ff22160e4e32de8c561e9d2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.33-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a377f4dd4976fd4de1d97f30f1b36518d3c38051b152c60f7eec9bcceaca9c1f
MD5 330ea830550db2ddfbd321606977cdab
BLAKE2b-256 acfbd04804d8ab34e75a2ca299b1d7e69dd92bbcd25432ed4c3290fc3cf505ae

See more details on using hashes here.

Provenance

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