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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.11-cp313-cp313-manylinux_2_31_x86_64.whl (776.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.11-cp313-cp313-macosx_13_0_arm64.whl (523.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.11-cp312-cp312-win_amd64.whl (533.1 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.11-cp312-cp312-manylinux_2_31_x86_64.whl (777.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.11-cp312-cp312-macosx_13_0_arm64.whl (522.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.11-cp311-cp311-win_amd64.whl (545.4 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.11-cp311-cp311-manylinux_2_31_x86_64.whl (708.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.11-cp311-cp311-macosx_13_0_arm64.whl (520.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 bd45a6c108bb0e6c5df292d289f6b2fcdda32b5ce4ab1a799ac47c4affdf8ea2
MD5 2fb29a8623a4b99a78d9c4d4e036445a
BLAKE2b-256 4fc33aee550b29fd41f2386b63bf281ebcebf0ce1053d379943e705e4cdc9e94

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.11-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 640cdf761f281e0f49be49b750b68113d67dabca14b50ecda52fef00a775fa60
MD5 889e7e4323448c80a983e2e3d30ddc59
BLAKE2b-256 c08791fb144af0e0791a091e31264126de8bc4c7e134ee233266a522300a4f82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.11-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 62e16578c5d8d47c0925aacfb079181d5e102f080bee1291d01cb087680cd8a8
MD5 526cbd0db44ef8c59809ab6cb709c60c
BLAKE2b-256 be9de38e0373583860f79d10cf7bce24754e0627e6ca25de7c593e15432fb9c4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.11-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 87c982fed08802f8b53ad97cfd3ac07dca293dc77de254715326d012a37ccc9a
MD5 4b32ff048be5f8bdc24a48a8a443b84b
BLAKE2b-256 15ac479dbeb37e3db58d0168431bcb6d2994060f90e926fd2fe5cf29d11d494d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.11-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 20b9f70d72a6a728e8544fcfc05356fc39379075ddc1f35331d2df9599cf761f
MD5 beaaf29b465f870dabebf9fe86574c5a
BLAKE2b-256 9afaaff9029295ec56606b39b67e502e4c354ab54a0bbcc0f14a7fb3b57f1d77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.11-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b7d09996a7fa7b001d5e2204d9f9eab707384eeceb24b24bb53ff601e08c3ecb
MD5 e936dc419a43a9bf9217b746e26f94b7
BLAKE2b-256 c03dfbf6858e0b7759ed08bc19943357bcb131cd0ed8bdd34a5a2fb9be6b2b0c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.11-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f76bbeb80b620de9657de5f2d8aa21906a3b065ecef3f04497c693cf85a02153
MD5 1e70c4afe5d63af73b3d0bfe01cbc89d
BLAKE2b-256 5f531d58605d03aa1887b13e02f9af9dad3da16f71d4c9f93335811f036492df

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.11-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e5f6e29dbfa4e508c575f3bc85340d3d2fb650da86975f0aba78d67dc6ffe9e1
MD5 fb7b96ece7f2d9defdb8b1a0b42a7314
BLAKE2b-256 bef89042413dfc52054df8dd5b3d8e068072a89eb83919f72c83536f9091fafe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.11-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e5266c1fbed13287475745880398c3a021a6293db1d569226bc94becad232f39
MD5 89a8bedacb0406c323a83610b9e42541
BLAKE2b-256 ebc094c85fd4e946636281ccc8dfe5ea612364618c0bbf17c0649a0e1b688ade

See more details on using hashes here.

Provenance

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