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

Uploaded CPython 3.13Windows x86-64

gllm_tools_binary-0.2.13-cp313-cp313-manylinux_2_31_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.13-cp313-cp313-macosx_13_0_arm64.whl (741.3 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_tools_binary-0.2.13-cp312-cp312-win_amd64.whl (691.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_tools_binary-0.2.13-cp312-cp312-manylinux_2_31_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.13-cp312-cp312-macosx_13_0_arm64.whl (737.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_tools_binary-0.2.13-cp311-cp311-win_amd64.whl (719.4 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_tools_binary-0.2.13-cp311-cp311-manylinux_2_31_x86_64.whl (952.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.13-cp311-cp311-macosx_13_0_arm64.whl (729.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.13-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 927d5b38d154cb15fba90d4fcd5dce2ecf45f5e78d57ecd89f55ad0a924e7843
MD5 a491c10fbe7e5570f5792d2c1daf1066
BLAKE2b-256 6d9e8579a2e1930798aba8b4c9e0397fc6e183ab42a373914cd033aa19da3229

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.13-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1f00fa3b72540d2363558abf9adfe59d3f7a5d5c5904da9c2a8d8e1811663554
MD5 2c75b090e139ea634fba0203da8d8b48
BLAKE2b-256 33447372930091b5c1375a86ab2e53a0011aeeb60ab93851254b22c6206abaf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.13-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fff0703b2a5dd6a76199ea75cb8f11bf71e02d958b1954ddc97ffb918caec60b
MD5 baf1bdea169685679543067ea9286a33
BLAKE2b-256 3bc089b38bc0386496de4839793dcab1608db66cb318ae948d99e1d3e250e20b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.13-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 371ba2bb9de20bb9fb87437b45a3f7fed1f299737a781e4dfeb0bc0ec056071a
MD5 6dc798702e788f130ad87b49ad4ccb3e
BLAKE2b-256 803bd687400ff9cc461b1d3c0929aa0626a2357ec86e21589f574acf4ceef522

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.13-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1f2cd236e80a4341c85ff2b23c65e34f479f15636ba7e14b9abca190b12013bf
MD5 2b0d66fed45319fc7651355eb3d5dfb2
BLAKE2b-256 6356e5db8ba1e5fa3f0cbb132c5559f2f030ddbe4379165f06fdec69c6689772

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.13-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1353c55df3e5a77c017a35d9f51649dc963c8a010ca227910f3a902c148f7f1f
MD5 e8326510fbd8822d4e4f5739f3d35cd6
BLAKE2b-256 5ce2f3d3b62498ff76aa35d1a59ab2904006ac87a18028466c69ce741a20dcde

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.13-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 62c23b160bdd323658289b639e81bcbef6eaa2366b805a9c24ef58995f7f3c01
MD5 e133caa08a475a2312844fe9222f15a6
BLAKE2b-256 04c4dad1357fb44b6c6a51bc7e0bf95a8cccbc80fbd5f2e19a81d2e6b2c38f8c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.13-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b31f3147e1a55d620ea26d66a4b255700682ab5b1d0557e1e94ff24ff9f15d42
MD5 7c0ce38fcee9a49246629be1dad32e78
BLAKE2b-256 4baa676f1a751067f93964ba5493c2aa96364d1bdf23ed41e789530ff3e85205

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.13-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 358f0500e483dc35a566230a74241e76f167a849d817769fb130812276ca509d
MD5 2299f6f3c3a4ababfbe3feff9295399d
BLAKE2b-256 c4b645cf643a48dde819cb8b537b8bb2887dbd85a7e11bbf3dcec699b1b352f5

See more details on using hashes here.

Provenance

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