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

Uploaded CPython 3.13Windows x86-64

gllm_tools_binary-0.2.10-cp313-cp313-manylinux_2_31_x86_64.whl (926.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.10-cp313-cp313-macosx_13_0_arm64.whl (649.5 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_tools_binary-0.2.10-cp312-cp312-win_amd64.whl (607.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_tools_binary-0.2.10-cp312-cp312-manylinux_2_31_x86_64.whl (927.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.10-cp312-cp312-macosx_13_0_arm64.whl (646.3 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_tools_binary-0.2.10-cp311-cp311-win_amd64.whl (634.2 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_tools_binary-0.2.10-cp311-cp311-manylinux_2_31_x86_64.whl (853.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.2.10-cp311-cp311-macosx_13_0_arm64.whl (640.1 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.10-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 bdcb02cf7271ff1b916c485110417ea91db526d834112dcd2a1d7c10d0d83b0e
MD5 cf84732ccb7c6b839996703169362233
BLAKE2b-256 d8a31e375204fb2cb5a1d3eca3d6530486f76e70720df9b8d1ff57f849c91608

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.10-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0fbd83ddab640e7e851ba46bb39ed4c2adb2e59ffa1aa8e9da749edc56367de8
MD5 1bde83564772550dbfb0ebe74b55cdca
BLAKE2b-256 6314b25c54a2106a615256b0d2d7c3709c3c6a7de762a47b3e964973277421ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.10-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 76ae84596a91e76974f6ec13de5b854a93cc6fdb26221e6078d920b7de5b74a9
MD5 880572dfbf5220744781edf64cbfbc9b
BLAKE2b-256 bd4eae04e6515a7889812a2b4455c5748e16b92ebc916069d14a4b01e8fa38f8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.10-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 82a0c94a3e23e826fc4a4c247e01d6e4b7ed741170a1a34ae291d50811855dd0
MD5 90b674f17b1838a51b277080dc62ab5d
BLAKE2b-256 c73c18417355cf9f656a0cb6d81d39a0357f68772bca00f5165f877fb6b7a1a3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.10-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b0585de9a27e815fed9e80ba3c2765ad8ac1b5f4f308ebbb5bfdca87910d4b67
MD5 3203ea52d37c42988ed03e5e3d39927d
BLAKE2b-256 27431be385ed1a5581b519b448c9e1eb735e0b818aa3ffe75d015e1358e0c163

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.10-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9ee159b59ba550f56bf5e7f9da454783c4f052fc5b3d8ca1ab5db0b3f8e2d7cc
MD5 354a51f2299d086bfc5ca66585745657
BLAKE2b-256 7dc690b59663d41195c67896b6afb8775c2ac3bd9f1bdd90045220c5d54cb927

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.10-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b05e6ae0893d3598c4175982261ec457e7e2016d2a44f7ac7af9ef4673f49b1d
MD5 82cc3dcf0891601284592635d5cf39c1
BLAKE2b-256 ca6449cec251f6e471cff10e91b95cce4b1aedb1fc25dd667043e71fa68919d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.10-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c9cbfee9bc5846c0f6eec0482bf700d6aa86c1aebeaaba3e27f1043d1f1926de
MD5 cc418776a030433889981cdb6946ecd1
BLAKE2b-256 5a1cc3525a550647f3c6c99eee45ca9b51fe7cd9ef02f524cf387b596bcebce2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.2.10-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ad527f017c02cc9e05eef3d3be2367577a7442c4fd5828a10756465675b2e9cd
MD5 7cd6e4b1a87b768af58b6d7a51cf0aa2
BLAKE2b-256 c4fd5ecc8454aeb1c6c2aca3d9d86d64074c089b6cf790051ec349be9715b8b2

See more details on using hashes here.

Provenance

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