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

Uploaded CPython 3.13Windows x86-64

gllm_tools_binary-0.2.4-cp313-cp313-manylinux_2_31_x86_64.whl (732.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.4-cp313-cp313-macosx_13_0_arm64.whl (491.2 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_tools_binary-0.2.4-cp312-cp312-win_amd64.whl (442.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_tools_binary-0.2.4-cp312-cp312-manylinux_2_31_x86_64.whl (733.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.4-cp312-cp312-macosx_13_0_arm64.whl (489.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_tools_binary-0.2.4-cp311-cp311-win_amd64.whl (458.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_tools_binary-0.2.4-cp311-cp311-manylinux_2_31_x86_64.whl (676.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.4-cp311-cp311-macosx_13_0_arm64.whl (485.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6a8630ede19b538cae30a43012e3c39a1f41fc113e7fc8c757d48cb09d5c9cb2
MD5 ad172b86380f6d1cadabd0f9ca63fa52
BLAKE2b-256 66a715fbb0800c1d4460286f4785594ca2dd2a62d2b165f1a3bace641927de4e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.4-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8e9df126e42e0d9eb5f3151687a74ddac2636726a9f6e9faacfe2d338b30c3f3
MD5 f24dbc33954191ca36cc4659f4fb177c
BLAKE2b-256 e5ae17e88526d32d08b32cd512d1388bbf0587c76ea7a5defaca254966548c95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.4-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b67ac081ee7dcf96473351f0d7684aac150490af0641a7191351fc336cc7eaa3
MD5 c4d3b4d37c6311cd55dc2a1b8aa0cf54
BLAKE2b-256 a2347da2ad1ca82447dd451c888d132f96bbb6b5ac7b7c0c449c4af638a7b29e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e9f7601b8e3ba622a9a351dd952d66669b67fbef09e77253a79337d08758ca76
MD5 701577b72f3eda45f537bbd60f4372b6
BLAKE2b-256 28ee21ead59840227c993aafc65a233d1a109a6918d24b684a92fab476ca9355

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.4-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6b0f138137ac6c62f22c32207efe6890e7ec465ff083e5701c02ab9baf3b1e47
MD5 7e3dadd3bb3d669375400251f70f887b
BLAKE2b-256 e12b6aeefa6494f51562be154967a585c19562cf4b9f33236ccb315c89138cc2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.4-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 18ad9b796b961a8308b16608ad0c01ce3e53cea9289c832b5d3c02e119b63076
MD5 20254d2e70c0c8b4a53ad5ec35bd4352
BLAKE2b-256 d33170cf7c7401c81be66b1f8c82340fbf04f932230aac3856a39239cecb11bf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ba2efe6c6b5587b5135bf6c0a425017b4d061e561c2796c32f0ac0916bc96e49
MD5 7b55020e713645e8802781f258430385
BLAKE2b-256 aad4f7dfab5dab0942b2a78bb794d7bbe4cea3c52540310f3717a40698e7a0d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.4-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e1625e9596f04f492064ec9e306b0b6e2e8d9f7c5eace92e6eaa4f5cdc88cd53
MD5 794ff42d22622f28b3febc0a9ca251eb
BLAKE2b-256 d8b0c93bf45d207bfd29ba7123b614b04a2af3ef481dc760bc03abd3168b5e9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f0cb5f36a7b398ac983c71651ed3028380a2c7ed9063b3bfaf2524dc8f82ee90
MD5 7cc3696e883b06f16985c7c4be29466e
BLAKE2b-256 d4590396dcf15acbef1db829c43decb800ada6660eed80b3f4f446adf195523f

See more details on using hashes here.

Provenance

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