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

Uploaded CPython 3.13Windows x86-64

gllm_tools_binary-0.2.9-cp313-cp313-manylinux_2_31_x86_64.whl (925.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.9-cp313-cp313-macosx_13_0_arm64.whl (648.7 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_tools_binary-0.2.9-cp312-cp312-win_amd64.whl (607.0 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_tools_binary-0.2.9-cp312-cp312-manylinux_2_31_x86_64.whl (926.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.9-cp312-cp312-macosx_13_0_arm64.whl (645.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_tools_binary-0.2.9-cp311-cp311-win_amd64.whl (633.4 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_tools_binary-0.2.9-cp311-cp311-manylinux_2_31_x86_64.whl (852.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.9-cp311-cp311-macosx_13_0_arm64.whl (639.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 66ed4ab31af51462cb000411bec00025b5ea9f9c76ca8117901b38deb2baa28d
MD5 0fc30736b131c6d2884b50ec4c1c69d1
BLAKE2b-256 32cca014c2b51d608df5f3668fdcbbd94a7ffabaca5e3d38c8f394fd963fbef9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.9-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 157449cf79a5871de7873f9df8419609f2fc9335aa883c4422068c66a7ca98b4
MD5 db1287491e7586cfc3012c66b82c1e1b
BLAKE2b-256 7bb0437c8e7511edc2de7058645d4a940e4a812c30adf322932d8f6f695bb98a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.9-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cee88cab614f84942a69149a36483bcf398925a11edb0276c038cf4516d545a4
MD5 4e69cbc6df19372dac88ede019409fdd
BLAKE2b-256 070ff9062a866a2fedc1d098195dd6b79eea6fb5fcafa59e5dfa27539d1e08f8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9745282fbca3fd0ee5acc4345a123efe30ac1af75f11c395775fdb068ac501ec
MD5 b7837a6341c23afd45444c3d5d5a18f8
BLAKE2b-256 b6ba14158198032db1b47635634d9f8888908011f774f64b7b077a2002636895

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.9-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6f187db3bcb41617a93a0f85daf9eec6229f2d327f4fd1829d34eae1d4aa4445
MD5 9e3a4e117e00b7a3d7dc56f6f638047b
BLAKE2b-256 2e916f96024ac8956f2a2e6a89c2dcc7ec50d54aad8d60fca5a2632bc6913112

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.9-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0d441a97f06da7c0c330eb3b30d9514c3493b87371aa1897a799c2ad7501dc4f
MD5 325603e96a87392ac4ed8e9e2c9bc5b0
BLAKE2b-256 3b567c1bde7af2baacea443325d2c5e137bef26bc954999b96e90458b4d432d4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 03436ddcdfdad1ddd7ba08a9a198538c5fdc53934ea93d4b6e7458c25105f719
MD5 27565daf4da49bfd8123ede4f00d33b4
BLAKE2b-256 f54f96f88b5f8b451d8a6145141944d31cdc29518904e3e0e7b081146dba4e76

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.9-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b24a8161f41329fe9839ed9568579ff0874ea52ab20a4a9d2f9e84ca32dbd940
MD5 390a218b22a55d517d0012aefff1a7fa
BLAKE2b-256 0707a4dc00642173b9276e0d5616bd534148aa42907ef4f475bb003baa778ae9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.9-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cf2516645f30966c5a4fbb8be7e6e77a8f77c0a562fa2d14fd7819eb27bc1720
MD5 5d3d38cbf148e930aa2ef552e4bacc29
BLAKE2b-256 f56fd23848cbc58c40e1eed0f85001661ebd18d91c2ce39210b6c003ac609e96

See more details on using hashes here.

Provenance

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