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

Uploaded CPython 3.13Windows x86-64

gllm_tools_binary-0.2.3-cp313-cp313-manylinux_2_31_x86_64.whl (692.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.3-cp313-cp313-macosx_13_0_arm64.whl (455.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_tools_binary-0.2.3-cp312-cp312-win_amd64.whl (412.0 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_tools_binary-0.2.3-cp312-cp312-manylinux_2_31_x86_64.whl (695.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.3-cp312-cp312-macosx_13_0_arm64.whl (453.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_tools_binary-0.2.3-cp311-cp311-win_amd64.whl (426.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_tools_binary-0.2.3-cp311-cp311-manylinux_2_31_x86_64.whl (639.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.3-cp311-cp311-macosx_13_0_arm64.whl (451.3 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0935c70e3448151532facb0c472c8465459f6a1f7392c1c16372821caa066e3d
MD5 fb7c04a525510a6ee671b2ccb24c11bd
BLAKE2b-256 113214bf0b44c12b426b1bfcf0649f4049558862e11fd2cec8d64b146513a6bd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.3-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6fa97d19bf8d012e73cfd4be49a0c83538f2443b6a4f3c26b75a7ea7b7cb1191
MD5 45b25414c187851d75508ae6ea344190
BLAKE2b-256 715580f917fa38fa5558e42b6f1c0a61940467579e3aad3876673c6c7405801f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.3-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e1d8459ab35a35d32197a9849cb95cd46eb9c9e398dc68471da7e48eebfd9d17
MD5 97baf65077bcdd6639fa525c82ef6403
BLAKE2b-256 c9f3db125cf254ff2498e8ec8e782ee314b254618789448e253e20f3e3b78ba2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cb065866461521a81bde5bff067a2779cca0a221d2b9b0740c6b5fc360292d31
MD5 369643f41e106f5e8cb8426d2b1460ef
BLAKE2b-256 b2cc9b6c97dfd8b488e489fe040e7f2be540c106688fca366f56ec4305cf413c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.3-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 79a36d5f4758e643c64f268797b766f71d9994113a3f31d871ea5d548d14b427
MD5 9f4c830e27fdd50bc233766afb0ff556
BLAKE2b-256 1c62bb055e60d3e1ad948c155233bc67917b8785c5415b476a2d03f3fb0dd329

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.3-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 40354f215b6978e0fc7223c7fc16bd816e49d5add16c6548bdb2a5f0fa09e2d1
MD5 fe3123fec0c40a5342a048ff6fcbcbe2
BLAKE2b-256 584aa748a6a271f9df6465ddd67cc83f4908ac5b7df27b0187beee2de96d6555

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ab1fa2dbf5287f79c1083eeb7dcfe441116fcb14a80bfe71c4ed776437cb57a1
MD5 8c1a0294d55e3b174e29ca6b82ea14e2
BLAKE2b-256 6d01c33564ed8b63594af5439bb2c19ad63d1da1d6fb50684a8a9fa81c23394e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.3-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b75ee90a173e5fa309463507d22f8976393360b5c53718be5b4867ccd6161153
MD5 0fc9c1c7ce8a092799ccd2311c09c14a
BLAKE2b-256 aa5ab4fd7fd250f8f0a97967b708a3ea6f648d11fd57b1181c11f28c30bcb6ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4fbda71143d70a03016c9e6a1b621dbe779f4296e11a14f2008b9ca69060a8a3
MD5 e772ba958ba06a32be6cdb478d10b2a8
BLAKE2b-256 765d3592ddaad1d66aacdacf01464dacfb874fa7c0f78e46b1cbe0acbfb1b1d6

See more details on using hashes here.

Provenance

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