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

Uploaded CPython 3.13Windows x86-64

gllm_tools_binary-0.1.5-cp313-cp313-manylinux_2_31_x86_64.whl (593.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.1.5-cp313-cp313-macosx_13_0_arm64.whl (362.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_tools_binary-0.1.5-cp312-cp312-win_amd64.whl (403.1 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_tools_binary-0.1.5-cp312-cp312-manylinux_2_31_x86_64.whl (595.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.1.5-cp312-cp312-macosx_13_0_arm64.whl (362.3 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_tools_binary-0.1.5-cp311-cp311-win_amd64.whl (410.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_tools_binary-0.1.5-cp311-cp311-manylinux_2_31_x86_64.whl (546.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.1.5-cp311-cp311-macosx_13_0_arm64.whl (359.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 fd7796de01ecf96c4f489d31846f2a2272ca7fdd59b07227a7c1535d61ca605f
MD5 98f8bb2dc2f5450cc875c143107d8992
BLAKE2b-256 e876c8555e397de36c86fd62417848052dc0b9280b84017e9f9557bd6af15d35

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.5-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a71c538aa9d46c2ea1690b074833ebc4f5d548fe81d726de731bb6d52fd22933
MD5 dcfe371a1690ca68a25cdc78e75d972d
BLAKE2b-256 9b16a3f3aea5292a0e890d2b6a743d615ac0319a5ef186e80382b06477033b6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.5-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4cf62adefb48c7283b86438e8ab8c3325950bece10b2e35556ae7af18ebe9537
MD5 f38983b9fbf9f6a7f58c60e880b5d346
BLAKE2b-256 68ddceb5bd6134ea139b68e2a69649c250cbbace8dcce522c8d7a35ed3a0dac8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 edd3a81f53f9c81c47fd53a94b2b0e5a77ebbfebd51d26a37a93ea24c475b46e
MD5 52b72c80fa0f43d03eb3d9383dfce382
BLAKE2b-256 5c044bc0fe67a9a0cd7c2655135ab73702e2ef48980e3fccf8184a055a8c03ec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.5-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 dad68ee6e7bd430a7b27a316de75ceb48f503c36cc033a0417e6b06eba7ef646
MD5 c1a9b5f731f26c56e7754d7102d4d462
BLAKE2b-256 3d0c3c67400433ce0e34fa39b3de24ab4371a3f6c6219b9f68fd46fd4b655844

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.5-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5ac1cf50670ee44b49be2bdb7a373402fdf19411ed1e3ff93480bad6dd652714
MD5 fbca96cc9dcc3be8f181111671bc945c
BLAKE2b-256 aaae6aa67c2b5e5bdd23a12cfd4cbba38fb1e78b757876ecbc31bea1177d8a6f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0828553904edd8373c6bd9394f93dc0b1e067e768edf3bfc2a234053095b52a2
MD5 4f2cc88657239a0da0a8c1c1f0d33b46
BLAKE2b-256 e1bd7991310f38cf04867a59cad8ada90b27fe41e492a9d33ece288ecd707661

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.5-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e33502163cd94efbece0ebd6efef5b5239fcf4541826a6d9cc61f46740966b07
MD5 c1b6acb1d19d91b3f2f564e9ae8b9877
BLAKE2b-256 b47daf4718cd002f3dcea15c645bb7832854ed64c125acc71cf138e2b8335b42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.5-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d0e6163f5978c9a7b8d9347b4a3956ee6a82886a57bb62b405c689d2aacc3b7d
MD5 2f80cb7a24a24764a219a0e11e11b2de
BLAKE2b-256 657751723557ec66fb0fbc4cd5c71f7a16b0078aac3d644ca6ee080ef247bffb

See more details on using hashes here.

Provenance

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