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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.12-cp313-cp313-manylinux_2_31_x86_64.whl (777.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.12-cp313-cp313-macosx_13_0_arm64.whl (524.3 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.12-cp312-cp312-win_amd64.whl (534.2 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.12-cp312-cp312-manylinux_2_31_x86_64.whl (778.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.12-cp312-cp312-macosx_13_0_arm64.whl (523.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.12-cp311-cp311-win_amd64.whl (546.1 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.12-cp311-cp311-manylinux_2_31_x86_64.whl (709.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.12-cp311-cp311-macosx_13_0_arm64.whl (521.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.12-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0b292342d2b61c273412c7fc08880f5dbec5c562c984270e0b60bca3d40bdb85
MD5 b1fe0a1f68f6eed37a917263b9c852b5
BLAKE2b-256 442cebf8683cd4d6a891dc7306590aba3e484863a983bbd2e4149ea8d5432f35

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.12-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 333c709992da60ee4d551571a6624475da5a25f4f3eed8b757421f9e101b585c
MD5 c83b4d29170ef52a613915d12218c3e2
BLAKE2b-256 b28365d468a01f5e8432796cb210a36b57aac4fe484f20625ad3403a0a022c69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.12-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cfad795d525180dc486fb68c8ba17b793ae08b85aaa60f72d0e06cc34ea2b840
MD5 6f66c1c34e40b229b716855600c388ef
BLAKE2b-256 125a27d614deb93bad5391a818ad18db069251fa413434f289cbb0c596280b14

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.12-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3236947ceb21ccbba2eaad794c39965e3635f3bda4174763c175a995f8c2e203
MD5 79b7e4fb4d5cf2cc7370c1c80a8f8641
BLAKE2b-256 40afd5b7290053024a5b46ebfb821fe7c23dccda68aed81cbaf91ea1ba313040

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.12-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b6941ea2c69f1e3f204b89d0c8b6232c13c60164cf699f18a4a615c6d058372c
MD5 99f323b6c099e774e23f0c42309648eb
BLAKE2b-256 62d227262bfde3ecd5062270c19c0335ec3528a62929ff7d58081ed51e9af41e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.12-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e523b1e6127023c8b450a6530ff82deb22720703b5c9f92abb1940a3c60bd5fc
MD5 3fb79df9ae2704fe338a33c611e3b2db
BLAKE2b-256 47896768eff8c9e9ad4c4b5d32e602881f7382f40d97765d268eb0be670a848b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.12-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3d9c7288afecfbcae9f69d1eb65e26e8cf814b2874222f6af253bfd3c790ea1f
MD5 4d4e6337cc7c9946421758b2c05a77e1
BLAKE2b-256 9f7e4d8d419e568dbbaefae3367139bdaef96f98b2d7d790c0a71e4d186192cd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.12-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 74130878544a3559f20b5e888f0077f7703bdce123ae703d7ddeb50d8ee92556
MD5 f675bfccf09821228e3e547f91f4c8f1
BLAKE2b-256 281cb20c459cf8c616de9bb5389fb26dbd3700fce76fda9866b7d49a78f66942

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.12-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2dd51889833952760a15a9270b08e0e9cc3655b283fc5249156a2f159c06377a
MD5 14050028c6c1aeb5f6d3cfb30414e39a
BLAKE2b-256 667e3e1227b04d04608016569fb6121d0086c2c1520f817d3c91ba518606fe5a

See more details on using hashes here.

Provenance

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