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

Uploaded CPython 3.13Windows x86-64

gllm_tools_binary-0.2.14-cp313-cp313-manylinux_2_31_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.14-cp313-cp313-macosx_13_0_arm64.whl (767.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_tools_binary-0.2.14-cp312-cp312-win_amd64.whl (717.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_tools_binary-0.2.14-cp312-cp312-manylinux_2_31_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.14-cp312-cp312-macosx_13_0_arm64.whl (763.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_tools_binary-0.2.14-cp311-cp311-win_amd64.whl (749.5 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_tools_binary-0.2.14-cp311-cp311-manylinux_2_31_x86_64.whl (980.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.14-cp311-cp311-macosx_13_0_arm64.whl (754.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.14-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5f8074cd8cf906e2bb7eccc48a779135696d5914066655a82484fda2fc8061e1
MD5 283201c951aea35f61195738e9f9714e
BLAKE2b-256 958cecec8b48c3fd4a6e499e98e27b6cffc9cd3107958709ad615900fa8c615b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.14-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2b342f87f7a119c6bf6a5abcfdc491c8bd0311e60ccb6e1007bacd21e0f047a3
MD5 1eb68898ce70db44ea6ce7a72458f758
BLAKE2b-256 869ed3aa1ccb72811abad36925523231f650b7f7d8a26bfc2abf9f232f56f8e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.14-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 93c38ca0f6bddba7aad9a9077c575277dc5e247fd4791bfaa249ce5e64c76a15
MD5 b6cda560ead31ec08225b4cb16ba7a70
BLAKE2b-256 b793146524856303ce18a519b6f76023d4a2614c4dda9eed2bcdb36380ff8e7e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 17b6be9b08880c257d5834ec7f9e26d17584f7258b25acf886ed108517192bd4
MD5 1cd6efee2df70353d833e685b056b38c
BLAKE2b-256 f362569b1acf08c76e12075c7e6b2221bd3ff67942d1771eacf45ed273ad1bfc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.14-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 151005ef9ecca4f4489e4ce14f9c8cdd2c1432f018c21377f90b2570e7b909c7
MD5 7eab09323174a964b3e4914fdb387c63
BLAKE2b-256 f2169d6800dad55aa3d01f26b35e1522758fc551048407c2e462524b4cf5239f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.14-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bf6cb8b4a8f50cbb99f175dfe512f0f304dc7dac2efdc5c4b0c968134043552c
MD5 e7be453c31b17236638a3cdaf10a29b9
BLAKE2b-256 312e754b8708d059a9b260ee1d82a3d950f8eaafea7e9913f56a12dbd25a569d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6fe3460dc9dd1b36e875cb769b662ec350f175484f511bc696b8ceeda2da3be8
MD5 a1ee915795c96ba0f9486c5bab1dfb6c
BLAKE2b-256 4610e516379cb99fe9bfd825e394ee76d067eb4fc124c344af4324d51761103f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.14-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 90142eab363a992463c3df1926f997131f72296c5c7254730b49f9467aa9303c
MD5 65b20c9bb181ffb281377e6dff6f73d3
BLAKE2b-256 3861131d9775ff0df2f5bf4a86a09d1bd047c3586878f83349c30a631e95e5ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.14-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 294f5eaae6e509893453ba60154f9e3c2761dc3c49b7e76e37cdf465070b91ed
MD5 4ce3cfb03f6215e7672b623dc93d1695
BLAKE2b-256 ab7ec0e8ae195eff12e572ba70fae28f6e381e1938736021e4d43efd4252b463

See more details on using hashes here.

Provenance

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