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

Uploaded CPython 3.13Windows x86-64

gllm_tools_binary-0.2.2-cp313-cp313-manylinux_2_31_x86_64.whl (654.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.2-cp313-cp313-macosx_13_0_arm64.whl (415.3 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_tools_binary-0.2.2-cp312-cp312-win_amd64.whl (448.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_tools_binary-0.2.2-cp312-cp312-manylinux_2_31_x86_64.whl (657.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.2-cp312-cp312-macosx_13_0_arm64.whl (413.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_tools_binary-0.2.2-cp311-cp311-win_amd64.whl (457.5 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_tools_binary-0.2.2-cp311-cp311-manylinux_2_31_x86_64.whl (607.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.2-cp311-cp311-macosx_13_0_arm64.whl (412.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6f079f351ddee47d974b6e1c31f26378194a862918e94372cf77a25bdd42e37d
MD5 5bbefabb570bcb79e7d6cc6d6f61edcb
BLAKE2b-256 f08361d2ae8a5c7aea7fd2483e3786e8cb9ad3f148cc2b499307c65575e90393

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.2-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fbc59ae547bb1c29a854d98f72ef00161ca1537dc461b345fc747b49d6b76bf6
MD5 7849b044a48b87287fd7e03d1efffe50
BLAKE2b-256 061199d4ae803487a033b0d6199d98f56b3815ce22f73af321ebc307e36c334f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.2-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ca5b2b47b675ab64fc42e9524bbf31bc9f46d0d7dc9a0f73e55b6f0cd7e32126
MD5 da9689e4247ace83468df13d1be68cdc
BLAKE2b-256 39ad0d31a92b66678a63b8520606185e2c41dce15ce9743abb95c8ec051b81f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 33fde060b2ada4339d5589023c43f36cf608a2d9eeb39e5fbfeb5d1f10f03fab
MD5 9dcac7932b403c7989d04b15af072cec
BLAKE2b-256 53dc9c0d87592786966a6a7efe916e252411d8d32242901aeb1048cff2e3f50e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.2-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 14f0ca4d25a77abdbd0273793ed6814128bf4b795fdbd94e1a97f72bf7716dd1
MD5 42a693c75e147b312db1432ca5447f29
BLAKE2b-256 902867c5a5272c52ec205dfc7bb1950a679c19084e6c08dc35594fe156b5d295

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.2-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7123b4e81c02fe16dcdd24d6dc7df6b57bafef509a1f6be2f635b5ecba017312
MD5 aeb6f13b8cd5611559d565b81578e299
BLAKE2b-256 7c21df60dd37ca54fb3e367ed3522dca8e3208a902acafefd997825698b7eb37

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e13b936c50da0428d8034b13365896f709757afc87ce306f986578635107ea56
MD5 cc97a807edddf8bd0bdc78011becae55
BLAKE2b-256 faecc74d31d7db16d501c44f0484a0e64928e674c25061b14057044119538f42

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.2-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b4246afc9958893e7e9b79f7cbc35adf93422dc7c0abb53acdeb4cef988b27d2
MD5 c378c860ceb29ce4c6a2879765578e50
BLAKE2b-256 87f6d6768adc10fb7feaa04e663fbfe970e931eb47c6c87ee6cb4c83e604072f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5d6de51b6d8b0d2fc24a1cd3c353741108fa9a0d427f659926ba208e8841620e
MD5 0635f5295792fc29221b289802ad14e6
BLAKE2b-256 2bc44c0919d76b74d2c49a25ec9063b7ce6fdc743f34c1fc05a0faff81e600db

See more details on using hashes here.

Provenance

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