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

Uploaded CPython 3.13Windows x86-64

gllm_tools_binary-0.2.8-cp313-cp313-manylinux_2_31_x86_64.whl (919.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.8-cp313-cp313-macosx_13_0_arm64.whl (644.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_tools_binary-0.2.8-cp312-cp312-win_amd64.whl (601.2 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_tools_binary-0.2.8-cp312-cp312-manylinux_2_31_x86_64.whl (920.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.8-cp312-cp312-macosx_13_0_arm64.whl (640.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_tools_binary-0.2.8-cp311-cp311-win_amd64.whl (628.3 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_tools_binary-0.2.8-cp311-cp311-manylinux_2_31_x86_64.whl (846.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.8-cp311-cp311-macosx_13_0_arm64.whl (630.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.8-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4469b9f2ec58ff6cfcf697f0b0e4e65dc2c0154b079633f0d435bdc6a6df783b
MD5 3e752d98b88ca2cdaabebccdb3c23f8e
BLAKE2b-256 e2b6dca24797b55d5b0d6c4ddc5b30315738f97536ea8d8294e25bfbd1866805

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.8-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b2be07189419f9e3660acd4b5c4b93700cd621357924690ba987ff3a935972d2
MD5 36781cee0816bee4d74588213b03ed3b
BLAKE2b-256 14fb054f5afb63f17f2b05952dd5d3b6a65ff2ac653585ed1056f5ccac6728a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.8-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 aba826243ddae784413cb6d38e45dd1e889880fa5fdb9ff30318c2406dc0dc10
MD5 53f0877fc4f92d0f0a678d8c0954a31e
BLAKE2b-256 ce05cdfd1c92a33d5c99ccd8060ae3d0b464b648d71d09b20b67d27caac2f473

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e4d8175f51550c8212e9100259f19689ef4133077283f62e71db71b81933ee23
MD5 048f3d16bd8c053c9de2ce00f23e3abf
BLAKE2b-256 598591a16a98dc9204d4d2f54a4f603d2f13c5b11ee41cdc1d0b085047a8b91e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.8-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6061fc3baca5a3412e468e1eb373e0680bf4bb4f2762acda835e79c369411a39
MD5 e1b07792c6a5dcce9ea8f7f77d64c284
BLAKE2b-256 3cb84d84a7c7ac6a0d3a35cae37b511bade272185e8d4ec0330ffb481dc1239a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.8-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 825ac85ad2848fcb1ac5f0a00f318d2afa95ec275fcec8128a7922a6085fc617
MD5 acd526cc8d76fe6dc22b0c41ab04b315
BLAKE2b-256 f253d69e91b0dd6584e1fa736ebdcc3ae19dfe6fa63ede5ba23d7ba3caa035da

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a7845f842e6dc3ea6b03fb90129cd548b956e0c765a1ce65fbf63d41d18059c3
MD5 95adf9fe7d29279f5330d7701bce6ed8
BLAKE2b-256 bced984381aa4b6493a1b9fcdde2b80190407bf2a23a8be9d9484f392235bd4e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.8-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0ed48cb39def1c4e0b5434b0ccc8c8d5f4350f4d823f06637712ce5d9f4007ee
MD5 4100fa3ed9f5fdec89f941ff4440fe01
BLAKE2b-256 3fa029fd36a263bfa2f7e102700fe020adc8ee676ade780e9315b803c2c6e38e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.8-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 25c380480366591b82942b6899188c8a10d589193b9051bc1fc522218c44c40a
MD5 c9e648bb514fd81489d48cc540c4d816
BLAKE2b-256 3078e418d428d44e16fd1ae41970f91a5f5b50402e8f3b142c94c75970174d2e

See more details on using hashes here.

Provenance

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