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

Uploaded CPython 3.13Windows x86-64

gllm_tools_binary-0.2.12-cp313-cp313-manylinux_2_31_x86_64.whl (928.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.12-cp313-cp313-macosx_13_0_arm64.whl (650.5 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_tools_binary-0.2.12-cp312-cp312-win_amd64.whl (609.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_tools_binary-0.2.12-cp312-cp312-manylinux_2_31_x86_64.whl (929.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.12-cp312-cp312-macosx_13_0_arm64.whl (647.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_tools_binary-0.2.12-cp311-cp311-win_amd64.whl (636.2 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_tools_binary-0.2.12-cp311-cp311-manylinux_2_31_x86_64.whl (854.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.12-cp311-cp311-macosx_13_0_arm64.whl (642.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.12-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ef200b6e73bbed85e3705040c0911afd66cf888d343caa331ed46ac4aebd72af
MD5 41745856074417359910043afc8d3b89
BLAKE2b-256 9105a9ccea85fc93f0603e5083b7129042eaf65e7b10fd1d2a6271fdd4d4c554

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.12-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b46bb089373d4ff16e747ffa3ec265cfc408e91efc72ca4c950fadf4c794748d
MD5 54ecf3560018e9e236afefb074f73da1
BLAKE2b-256 5f69d827d54dabb88ba1fc3e7ace43afb53b5c54e00df024ccdf2b66f1309be9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.12-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f090b40c191efc3aea2850fa46ba086265306c4954ffe0780222321cbe66c755
MD5 0b6d668c44443ad8345314cbb6ebbe07
BLAKE2b-256 951c282c0190d75ad8d78d93d6ece4834691dbc08dcace12f6b045d80aa193cf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.12-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8547a52d38d2623b3fb6ba4a2d6e17e76a9d5411c95f81f62af8615788839922
MD5 1a2c86b2920b1f8c0f28ea4fedbdb54a
BLAKE2b-256 a906af65eb2f9e005c2b280ea0158b6ab437ed3c5e5175d2fffe3f655f4fd8a2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.12-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 448b3cd56775278fa6fa1f262600b31c644f9c857e8e4cef51262644afb27b5f
MD5 d18f797e845e69a4dcdaff5d13d3f9eb
BLAKE2b-256 c96d78fe57456b7cd66cbf2b69f1dc182e06166a1969e68e85e5e1719a0df1fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.12-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 501c655c8bdf69464e5d43632e9301c63addbd111e884900c6e443cf9c09e250
MD5 a8ab15afd8c47f7e60dcfcd7d939d703
BLAKE2b-256 df4c5fe0f8072b5d4122cd15d59020b159f4dc477087e6cd197a7b42c0366207

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.12-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 cb5aeb085312ae0525f12c2320b54d16753aa421a98f2a8380da28b9ffb08062
MD5 16b0e7bba60f10d5172b091c915d0003
BLAKE2b-256 dd1d37ad520dc6acff2eff9a35075b30268fd1354d3d14459830a3df015c7d7d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.12-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fa35d238a99cc741144905d2aa189311f018acd88cda509cc7507ef5c6112098
MD5 1f5d90523491de3fc1732e1f274e29c0
BLAKE2b-256 c1b18fda701f4e6c48e98b9936caa70700b583a1a6abb090e5be0ba79e2acad3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.12-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 89bc88d1221f479bad512654a4f8d5b4a3c44f6bd536f4b83fa80f299a24a9b7
MD5 f46f0800700242646c358098f25d5ec7
BLAKE2b-256 9a128c91ffd9f9d7fbe5fce383565db6fd4f16126921ff0b9beb4da474cd24f5

See more details on using hashes here.

Provenance

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