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.23b3-cp313-cp313-win_amd64.whl (537.6 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.23b3-cp313-cp313-manylinux_2_31_x86_64.whl (874.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.23b3-cp313-cp313-macosx_13_0_arm64.whl (611.5 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.23b3-cp312-cp312-win_amd64.whl (540.5 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.23b3-cp312-cp312-manylinux_2_31_x86_64.whl (873.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.23b3-cp312-cp312-macosx_13_0_arm64.whl (609.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.23b3-cp311-cp311-win_amd64.whl (558.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.23b3-cp311-cp311-manylinux_2_31_x86_64.whl (797.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.23b3-cp311-cp311-macosx_13_0_arm64.whl (607.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_core_binary-0.4.23b3-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d8d77685398a176e70bb1a3436321401e4189d90cf2f0bb080e60d3d03a6b50e
MD5 0c1854489b11eabc3c1fb4b279755af0
BLAKE2b-256 1927e222e180e8c38fc22ad97563a080f7636815a7abd3ce80dbfb77a49ff8b9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b3-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 209c7b011fc96e179ff4418a0fca9d561e4c23b611297748a74f0e5c64c67a90
MD5 d08b7a938e5f4ab936a55d7e900d62e8
BLAKE2b-256 2ba63291bf5d30194c3b0fe79806749cf90e80b94fd9980e6bff940a4799be71

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.23b3-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b3-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e53e2fb85ebf580c202edc4b45cefb90ec1171527f4037e53193b9f5115a3137
MD5 42fee0b031ded299944fb4ac38e0e02d
BLAKE2b-256 6f9b17b50a3d3724b4682113a2cb1b6895bbe2ba79ec1cc6fc04830ac4853a55

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 16d6af8281d9e7b05ad857ea870ef25dec848aff583056c3bc40547c854f5a39
MD5 41dfb0573ebcad1e3d6cda07e5e21fda
BLAKE2b-256 71ef274997ef37f921c3fcc4db0e0cf39fd64a9e0306d3266841d08f816648cd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b3-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0204407a6be5415036777f1f84e62c5c30af8afe1a31f401139071f3936e6b9c
MD5 2a39eca8c0b4977550aff0b4c4e6d4b5
BLAKE2b-256 a74fbec66d51eb9b10fceb1d0a7484a93c6e7f951c37ffcc466858c43180e905

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.23b3-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b3-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 dc1fd55f396e81e0c7eb3e027526fbebb81f28fa8491fda5f0640a1231d79ff8
MD5 3442a5ed83f40bdc30b19f4328f26d95
BLAKE2b-256 3c6259a27ad4f9c9d13f6c073e76770f6bb282034a09c8571f505e9030a51b25

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ce763c6ad02abf08e24acec5e623815457befd1f3357caeff1a0a0683a472502
MD5 706d001fd594d4aedcfe03afba24e563
BLAKE2b-256 fdf5ce6c9fcd90eec1637b3ea884e724bbaa031b650c708b0f88ff172adc2037

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b3-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fd7122c78c6788a8aaf3f517232ead558e0ffb8964b3eb5adc26d21a45346f92
MD5 18001749446c2fd73278e11b8bd4f932
BLAKE2b-256 5a5c8ada8db48fc22fa3b2afe570aaaeabcf96ac1277984bb36593270cd153cb

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.23b3-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.23b3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 decf86bc4043ff48147b169e9021f8ee078b9c116f40c301c76c5f3cec475fc0
MD5 bc601017e6b9c55848ab6caefe5edeaa
BLAKE2b-256 cd854a7f85ec0e5f6194d6462282e01da10fc1acc74a1c35b3db63261eeca7d6

See more details on using hashes here.

Provenance

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