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

Uploaded CPython 3.13Windows x86-64

gllm_tools_binary-0.2.1-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.1-cp313-cp313-macosx_13_0_arm64.whl (414.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_tools_binary-0.2.1-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.1-cp312-cp312-macosx_13_0_arm64.whl (413.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_tools_binary-0.2.1-cp311-cp311-win_amd64.whl (456.7 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_tools_binary-0.2.1-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.1-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.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d85f8d61033d9bc496e7c5889f3c1be739add53f410dc6c6afb7d4e5030a25dc
MD5 dc3a6b468a6d8f7859b62faa65626f31
BLAKE2b-256 c0a8a4934a47188c01814d78d1d0a46212a2d70b78ad43c7349bcb24641db7d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d0605ed30946d03d8faa1d3557fef008c34155d4bbd266d1f8111c1ebd64d95d
MD5 bf4aababeb7c3bd6d2d766af32dc6df1
BLAKE2b-256 258a0664ef0c2f80d98b39bb7e82f75e5b3225c96fa7be8e7ffa3ecab982e804

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3c549af0be86f307d079202bb780320d71b10703aaff84d43355160d8d9577ec
MD5 d89e0f4ce2ec57dd3937b7ad7b63cd3d
BLAKE2b-256 6b914ef46f3e4144e8c86068bf540405397dc624dc189a81a6e0a007d97c7e94

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 69bc433e77034bccd633f8998c1623724b9c5f802e79958851a26b38dc9e8708
MD5 022591e0b1f5778664a273182ffc0420
BLAKE2b-256 f32fcc84dd43ff70dac7685c06775f760bcc22ddb9c1227668c0b4c5b9584f2f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 25194b062022e96d6565f6604614eee71e9b5086d106b378202d1b252eb864f9
MD5 a5f6abc6251cad22fd3b8bc4542ad1c7
BLAKE2b-256 05c7055310ab511194d735d86373ee854eee6e9c467eb70d850f3316a25a9dd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a9ec633d6313ae1104d0ef0cd64f76f0592d3d1373edd536c9ff7cd0ba01e30b
MD5 d21ad6fc92a0c32916272fda8e891c7c
BLAKE2b-256 eefe39ff35d8b5ea9bb4326d936fc8ea0a2c5a628c986ba53c30e0383d43f695

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c94f405c2013fa2452b68b169399b1d792a9b584e0e3c8533f17a366a231b150
MD5 f5833c6a64c7c61b13dbd7c666e7e3a1
BLAKE2b-256 95cdb5c07654579e9706190bdde3f06fb1bc85c4afd54b5b36f31923121b0a7d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7304b033091d88feea542287293c6b2e01ca87b013dfc59afaeeef23f1b17095
MD5 e29e77f54ebcfa60ed12b225eaae63ee
BLAKE2b-256 07d19e6b97c4bbcb4c741a7228f9bc716b53893e0dc3f2e2bf6a957ca124592e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 dd98f4bc2ac7fad877af914dbefcc13d06630398b423bcf62cd3c7abda00955a
MD5 1c4d3733f83eee542d8130d348e564e2
BLAKE2b-256 a4a6c5eb8542ac1536a5ec12bb7fed5b95270d46dda73d6170651c8ee1cecbb8

See more details on using hashes here.

Provenance

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