Skip to main content

A library for managing tools in Gen AI applications.

Project description

GLLM Tools

Description

Library containing tools 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-tools

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-tools-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-tools

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


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_tools_binary-0.2.5-cp313-cp313-win_amd64.whl (515.7 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_tools_binary-0.2.5-cp313-cp313-manylinux_2_31_x86_64.whl (842.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.5-cp313-cp313-macosx_13_0_arm64.whl (580.7 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_tools_binary-0.2.5-cp312-cp312-win_amd64.whl (517.4 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_tools_binary-0.2.5-cp312-cp312-manylinux_2_31_x86_64.whl (843.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.5-cp312-cp312-macosx_13_0_arm64.whl (576.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_tools_binary-0.2.5-cp311-cp311-win_amd64.whl (538.4 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_tools_binary-0.2.5-cp311-cp311-manylinux_2_31_x86_64.whl (775.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.5-cp311-cp311-macosx_13_0_arm64.whl (567.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_tools_binary-0.2.5-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ab862ee9e60a80aa7b7d55140f5434619c4190f497e891e2a86cc13c8bf8ba44
MD5 e425580732485e300cdac3356da3a4f3
BLAKE2b-256 534a164d3ad90f9be90dd53097b3c272869b7fa515e4c75c5d5f54f0a29a7453

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_tools_binary-0.2.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_tools_binary-0.2.5-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.5-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b02b69edb06e77536aa2345a415f054f25f27976975a0983dcd33804c99198ab
MD5 90865604636ff1d6f776e812b1da5180
BLAKE2b-256 3ce68de29d298c2526d296511d3431a7fdb2aa3bba7548229db590941a9c0a30

See more details on using hashes here.

File details

Details for the file gllm_tools_binary-0.2.5-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.5-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0b175dec0b2cabe126e8582e840c040398d6dda277c0ae921c7dcddbe2c37776
MD5 be1aa2cd166d74c4220fb78a3958ad0e
BLAKE2b-256 efe51a62532d0fd1bb6b22bd1a20d43f5393a7330f396d4f235a7154863ba898

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_tools_binary-0.2.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_tools_binary-0.2.5-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 634223ad3459bee1d1b8a8c6d7df515fa73b50f7b1ba35f622980f95f564ea93
MD5 f89b6043c71b8e209b8771ddd8e6e987
BLAKE2b-256 4cb0442301f481faaa9e399064760400bd143d3151b5bd336a25ac95ca76bb90

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_tools_binary-0.2.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_tools_binary-0.2.5-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.5-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b1b7130e25292aa0700d430ec6fb02857f548260675f97b5239285d3f6ae4c5c
MD5 924acf913519f261e505bda5aa4bcb5f
BLAKE2b-256 afd6b4c478495efb7358e1badd6c069a950008924fcc5355e9fa03d890381578

See more details on using hashes here.

File details

Details for the file gllm_tools_binary-0.2.5-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.5-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7438965edb6912b2a13dbf29876cd7b2e8d62e495cd52b8692c3247bac5c2caf
MD5 d1b3b48bcfec23723ee09c5723d795a5
BLAKE2b-256 a61ea4533c32cd3ca5a291a35498bb14b1d1ef82f0c1106bceb58e9bddd306fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_tools_binary-0.2.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_tools_binary-0.2.5-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 05ee4fb155c0d7b46d5aaad7224e81c9fdc2180541bc106bd6bc2ce4d4b7dae8
MD5 77e79918e8b705eefb3fd9dc6a463891
BLAKE2b-256 0ae06a7ee57d29211611e55f86ee289ec8ed2a4f4226a1bc14883e7b8effc743

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_tools_binary-0.2.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_tools_binary-0.2.5-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.5-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 493e48e1fe1a551faecd49856299f9340b921a7f277fe63c85d3e1103e268dda
MD5 ee6823a63d9b21adfad5a8dea63860d1
BLAKE2b-256 117d0317986e26760a8dc351c0365495092338f97dbe0f0717160d30579e3b0a

See more details on using hashes here.

File details

Details for the file gllm_tools_binary-0.2.5-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.5-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9b4f4dd381eb331a5c75fcdee503798a20aed57715ed4c06a9206a91d340706e
MD5 6dff8d7d65bfa2f4e92bfafb48e0e390
BLAKE2b-256 4b6cc6881a7ffb7b2517ddae00fe9cb9772f458d2f733cc0424d9b2a9186753b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_tools_binary-0.2.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