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

Uploaded CPython 3.13Windows x86-64

gllm_tools_binary-0.2.11-cp313-cp313-manylinux_2_31_x86_64.whl (928.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.11-cp313-cp313-macosx_13_0_arm64.whl (650.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_tools_binary-0.2.11-cp312-cp312-win_amd64.whl (609.5 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_tools_binary-0.2.11-cp312-cp312-manylinux_2_31_x86_64.whl (929.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.11-cp312-cp312-macosx_13_0_arm64.whl (648.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_tools_binary-0.2.11-cp311-cp311-win_amd64.whl (636.4 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_tools_binary-0.2.11-cp311-cp311-manylinux_2_31_x86_64.whl (854.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.11-cp311-cp311-macosx_13_0_arm64.whl (642.1 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 725ab4f727ac89df080ca84652afaedfe88150e0af706f59f129f0e0b48bd0a9
MD5 a354249b198f5bcb07425eef7aa96798
BLAKE2b-256 b10934e495fac5402e3a005458cca688791bc6caaa5071994e08d07c1c1d21eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.11-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f1c2acdd6d374860d577ca86b536c7e9cdea855dc75754b6aa05a713cde2be60
MD5 02ca99615f24627c9123e244afd68b39
BLAKE2b-256 67e0d2f1998737a3c5593b2452fb6eb47d4fde8a488f847e617450ac03dc079f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.11-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7e045da2a069ba86e414f91e3c28aef8fa0cb5b5bb822a214e3438d8ea472382
MD5 e04aad9ae7c7d57fc40483ec86df6669
BLAKE2b-256 693208b66a8224911d2fb2a370344f177346372da4aab0f4020e208869bc157e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.11-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6ba02e1ef0b2b8cd992d4675af4b1df71e7b544725890c734528801d83aef03b
MD5 6a246005f63debcb64fef274f264a9dd
BLAKE2b-256 9d7020783165cb19bfaedbb247fe220cc43a6e3434fa6f6f64e37a72b9a066aa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.11-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6e82d3405df502779db3094d5adebd71127e941a57a6461b9b3a075875d5a745
MD5 dd4fc224daffc8b3200aa68a391fd328
BLAKE2b-256 ab0026ba7334f343e7dd08112a8cc29a54d34ae29085b6971f92cc048ad9cc8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.11-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e41a6c8c1b6ca821ad99b3a5f8d1a5b46195bad98859d84bc98cfa65608bb997
MD5 1977cf7a5a5ebd07fd05509305fa4994
BLAKE2b-256 63f3c3c886ffa5c07d98efaf3a70637bf7443b0648fdda8c4d1fe1e860dfa606

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.11-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6925bc4c8c30f562a38dac745abd03b6ba5693440a97ba606e917ce4516ce019
MD5 3be1759b84b3b45632c59d55c0dba4c0
BLAKE2b-256 01d62f7ce148c3569953eef109b9f5cc9a6804069308317cd8ab15b695f47c46

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.11-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c9e14d8a4c2d67ed44025a277c8cf4ff80683e4f22b6b3e50841ed1a4a72347b
MD5 6ce5502c89d5e3222bafe8c7073f020d
BLAKE2b-256 9eb5430b74e868890f3f993ef3b6afb78dcabc71f4cf2bf9144a769880614625

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.11-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3e86851b22ef245eaeea6ea1c4e02a7003c5d3c8165238d23e55940f63f860fd
MD5 8eae35f34b0e2a4998448273fea89123
BLAKE2b-256 776352dba670bbd94d0fd42e0c91bedb3771c9d32353aea731495627436acdcf

See more details on using hashes here.

Provenance

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