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

Uploaded CPython 3.13Windows x86-64

gllm_tools_binary-0.2.6-cp313-cp313-manylinux_2_31_x86_64.whl (906.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.6-cp313-cp313-macosx_13_0_arm64.whl (633.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_tools_binary-0.2.6-cp312-cp312-win_amd64.whl (592.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_tools_binary-0.2.6-cp312-cp312-manylinux_2_31_x86_64.whl (907.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.6-cp312-cp312-macosx_13_0_arm64.whl (626.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_tools_binary-0.2.6-cp311-cp311-win_amd64.whl (618.3 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_tools_binary-0.2.6-cp311-cp311-manylinux_2_31_x86_64.whl (834.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.6-cp311-cp311-macosx_13_0_arm64.whl (621.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9635d41f74f13df07038b3100bdfbb567e4a161645893dbdcb27818609ea2383
MD5 9256b94403989f746c587b2b9b28f904
BLAKE2b-256 5dbaa2ebbb8e7569cb649d92e1c64fcf7064d250035ac650b28916f4d658146e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.6-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 deda67748f66cd1c6bb4d3fba7f6f0ea994c29f78b3a1bbd6d333ebe002af4d3
MD5 ee49918b4916cf216de04bb51713b1cf
BLAKE2b-256 c8a1a927c7414d29f0f3f66699730cb6967bc13518252f6d0f3b6c3b8c56a68a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.6-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 256756e71b7ab8aa6e34f9f014c12432dc2e80ec02105cfdd296da2dc7d24de4
MD5 13642e0d289951e992ea48d09ed641e8
BLAKE2b-256 8729d2fea8f64264b2090814ee92455b78dbb7c5d5c405d1bfcc95adfefd4484

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e9a2e3a0e7c74a47acc81ced4287c53d68b79049d4b5c2e3a989ba0d5af742cf
MD5 08d5ab01112df54d7bc080b1082df71d
BLAKE2b-256 734d28ad479767d114fa6b3a49377d08cf414dc23bbec94815be5e32d8f82ce2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.6-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7c4fbd93d69ba9febde9156c36d52579e4c45363e5eadf9948729300a2729e21
MD5 0740962c95a218e9ff64adfde01d75cf
BLAKE2b-256 2425d8eede97b4fb45b59f752416cbf502daf716249ffcc97aa93e88743b000c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.6-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0baccd9d123ec879659e0a3a7f25dd56bbcbec09136e5c9bdccab2a6b72c6ef4
MD5 4890d14c2c823d6f3abbb5c3b9eb542a
BLAKE2b-256 94b3a7d7bd8c116fd303c3df8a8d08bba67fd43f7bffe3c91cdb67a9fba994e9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 15f68b26e0e61b80ebf486dcbec4341c2cfe255eac5a05b537f0d1ca3f6bb7e4
MD5 8a05e0adc52cac6d19afdf7ecff711e8
BLAKE2b-256 5daaa7b118862afdee8bc7b4afc41ddff2fddd3cb8eddb0460b199ac7a8475cf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.6-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 870bf18deeaa51b11646d1a02b21b81167d0c82e20f0c0fb39056493ce21b1c9
MD5 b7150bf107efb355e77c5a374de6d2f4
BLAKE2b-256 852295eb764f1ae03711a6e78f826d9265efa1a92e8d4e579c9464b007b682ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.6-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0d3777d135d33f5a53015fbd8abd90e825d9fd36768d065e8be4980e4a4c0992
MD5 d4e05c6890aa97c9f829b9225f740dc7
BLAKE2b-256 7a3cc38d65a1a4ed948207938e0c5a24811583da25cb7ef5940e4e9451fe87d8

See more details on using hashes here.

Provenance

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