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

Uploaded CPython 3.13Windows x86-64

gllm_tools_binary-0.2.7-cp313-cp313-manylinux_2_31_x86_64.whl (915.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.7-cp313-cp313-macosx_13_0_arm64.whl (641.0 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_tools_binary-0.2.7-cp312-cp312-win_amd64.whl (598.4 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_tools_binary-0.2.7-cp312-cp312-manylinux_2_31_x86_64.whl (916.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.7-cp312-cp312-macosx_13_0_arm64.whl (637.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_tools_binary-0.2.7-cp311-cp311-win_amd64.whl (625.4 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_tools_binary-0.2.7-cp311-cp311-manylinux_2_31_x86_64.whl (842.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.7-cp311-cp311-macosx_13_0_arm64.whl (626.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f9224a6dd73da10e450c6e1b1da552fa11c1314b2faaed9f9b7ee9f346f3b4ac
MD5 1a6ce01d408ae4b4d60951c7cf7c268c
BLAKE2b-256 317261b66cf5baa2c95d43e69bae9dbe682bd079e8cd6b1b6f07f5ae41db5a0d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.7-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8b1090bc6be88297364cca7493ffe40fcec1e93355b22b12e85c0510bcf69f7f
MD5 7d922480225be1534973746269b5ed12
BLAKE2b-256 3fd06a02c8f16efefc3211adecb8f3de83a2e6d00134265098f303f6dd9729ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.7-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7682d103b5b8d2c32c62baca3a262e57e9f48841c7af2a8eea78b4767ac0f38b
MD5 542b6dad71c944e9a44f059ab1ab7e75
BLAKE2b-256 746602ef28a4a7de65382e84f48bef981ec4898247bc966ce8c303d00014df97

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c26f0bf28770cd3a5dc0320a412985026ff187f5d1190ce710ee4f26e59f5a11
MD5 1f38b22e7562f748069ca211d19e8c11
BLAKE2b-256 9805dda8bd9f7857d49f81124fb15ee16a68c4e1e59a86f6ceb26ceff5baa830

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.7-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2f97ffd151514e01ef0adf5c32f494780b5bd62d14c95e70f2c121aca67e47b2
MD5 0c6e16c17e247aeb4795b8454135f66d
BLAKE2b-256 fcc8e865aaf25d8b9360b6fef22a9c0b0d40fe842b06df4fc422fa035c9935da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.7-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8e65ecabc7f79959cfc5237c1c80e1b968267c39a43fa4dd849ec7b830ea41e6
MD5 2b0fdc70efc18923dd7b5904da8f458b
BLAKE2b-256 e6f542fb833611b19759cad8b30ed8856f086747a92895366f66a0d7d0ee6d1e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1ae77c7bc90d1877077827618b3c0a051356b7ba55c02a19061bf4645815d2f0
MD5 f9685fc246c7f45d01fbf56e64fb6caa
BLAKE2b-256 c13e67af275fd9da63d342bb19806fb9ae1d0f89e2f17f55dbc8755849835b70

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.7-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 76d9bd1119ac62b375d84c5e734d7b9f657cc4c29e3d7de67364b70bc6d617d6
MD5 6515887b0b97694a860c9d2973279f8b
BLAKE2b-256 26fa3a12fa4cec43c4a0c4bcca824617b2bcf342ebcd604145c5442d357fd5ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.7-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8abef01139b6b3495d4304dcf4eb1ba63a6c145a39226472e580c27fa89dd64e
MD5 be9231d4d44bf6b0ff8bf94bdb1d1958
BLAKE2b-256 2471639c8d6d6d9cbc93f820495bc5d74520f975fe4ac03063e00c355d8b0da8

See more details on using hashes here.

Provenance

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