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

Uploaded CPython 3.13Windows x86-64

gllm_tools_binary-0.2.0-cp313-cp313-manylinux_2_31_x86_64.whl (653.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.0-cp313-cp313-macosx_13_0_arm64.whl (414.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_tools_binary-0.2.0-cp312-cp312-win_amd64.whl (448.1 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_tools_binary-0.2.0-cp312-cp312-manylinux_2_31_x86_64.whl (655.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.0-cp312-cp312-macosx_13_0_arm64.whl (413.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_tools_binary-0.2.0-cp311-cp311-win_amd64.whl (456.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_tools_binary-0.2.0-cp311-cp311-manylinux_2_31_x86_64.whl (606.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.0-cp311-cp311-macosx_13_0_arm64.whl (412.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 10726b64d9c484cc4961ee222c986e17c7685623385ca3493e97c608671c2482
MD5 d1f52d938635eb93135c0c4135668391
BLAKE2b-256 74ff53717bad23f98e4e8273d25ee93ecfad9d07dff607558bb052903ee5e4e6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.0-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2012885c85edd76af6812405b9399b7843c3559e8756cc88f3fec45d2cd54951
MD5 03db8d1f86f3d580a0d42819fc906977
BLAKE2b-256 68752532f68dbf1ee84d6cfa6505d3f8a93e95b19a17e9392fbf326b8d21ce98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.0-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4c2cf5593da859a5b8cafbe7be9b6b14be1d47272a0d7eb374244df1e3047120
MD5 7a9dc26236b2bf3f2ed1b7de837dd353
BLAKE2b-256 f2e278bc0c78c982b39bec900388c36570efd04be15748caafdb02de77744a61

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4ed669379bc53e81b4891065b5441927aa99d06593a1a781cc2963c6f018ecfd
MD5 a9fa1af565d0032938477d4785aaffe3
BLAKE2b-256 7789933fdfed8f3d78a7b2b8596a7dfd60bf3e925aaa2bd2467b56a4eba7b050

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.0-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3e9ab69ddcda11091aac8d41750d29d4af88a769ef1a934aa5ca00fce6070484
MD5 6bdc9070306fd771f398c1130bbe0860
BLAKE2b-256 79beb041472e60f99888efc9b6d453f20bc971a135439e8981ba84d50a71d761

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.0-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e4ee97f1c788e4c442594bde01b5330d7eaa8aa13d7790298eacdf9e158d5389
MD5 013989565fb7a7b19a5f6fc9bc210978
BLAKE2b-256 616eff92d1c49aa0b2483319ebfb0f401b46ad944e0ad0d17637baa560ea4fe9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 77194eaa0b36947ec2ae3a85b18cdcf7a4b60f900f31eb3d9bcecdbc3c161230
MD5 1d5005c08e57b1898c4da33c813d2fab
BLAKE2b-256 8b369e32a133f3a38d4c8fd65ea08773f14069b13b9df237a41fe1224517ee93

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.0-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2716d7d527cdbdca6f9fb9b5c9e5166f5f593f0df31bc70f1434d5f2cf0a9d5f
MD5 23042f9337cb0c1542fae387819f24ca
BLAKE2b-256 e7f9a1ae5de85f5aea341ea2b29dab386e5e6310ff02c4325178a910f10b95b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7c7496a80cf05a6ded7e01ece4c701516ebe01d76ca6ce12055d1a8f575fc2f6
MD5 050c89c4cc86cc2961be8faae6f21060
BLAKE2b-256 59903057c18f4633815412cdb065eb4dcbe6978bd8bdd10f744c19c3c95972e5

See more details on using hashes here.

Provenance

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