Skip to main content

A library for managing tools in Gen AI applications.

Project description

GLLM Tools

Description

A library providing a collection of utility tools and functions for Generative AI applications.

Installation

Prerequisites

  1. Python 3.11+ - Install here
  2. Pip (if using Pip) - Install here
  3. Poetry 2.1.4+ - Install here
  4. Git (if using Git) - Install here
  5. For artifact registry installation:
  6. For git installation, access to the GDP Labs SDK github repository

1. Installation from Artifact Registry

Choose one of the following methods to install the package:

Using pip

pip install keyring keyrings.gl-artifactregistry-auth
pip install gllm-tools-binary --index-url https://glsdk.gdplabs.id/gen-ai/simple

Using Poetry

poetry source add --priority=explicit gen-ai https://glsdk.gdplabs.id/gen-ai/simple
poetry config http-basic.gen-ai oauth2accesstoken "$(gcloud auth print-access-token)"
poetry add --source gen-ai gllm-tools-binary

2. Development Installation (Git)

For development purposes, you can install directly from the Git repository:

git clone git@github.com:GDP-ADMIN/gl-sdk.git
cd gl-sdk/libs/gllm-tools

Local Development Setup

Quick Setup (Recommended)

For local development with editable gllm packages, use the provided Makefile:

# Complete setup: installs Poetry, configures auth, installs packages, sets up pre-commit
make setup

The following are the available Makefile targets:

  1. make setup - Complete development setup (recommended for new developers)
  2. make install-poetry - Install or upgrade Poetry to the latest version
  3. make auth - Configure authentication for internal repositories
  4. make install - Install all dependencies
  5. make install-pre-commit - Set up pre-commit hooks
  6. make update - Update dependencies

Manual Development Setup (Legacy)

If you prefer to manage dependencies manually:

  1. Go to root folder of gllm-tools module, e.g. cd libs/gllm-tools.
  2. Run poetry shell to create a virtual environment.
  3. Run poetry lock to create a lock file if you haven't done it yet.
  4. Run poetry install to install the gllm-tools requirements for the first time.
  5. Run poetry update if you update any dependency module version at pyproject.toml.

Contributing

Please refer to this Python Style Guide to get information about code style, documentation standard, and SCA that you need to use when contributing to this project

Getting Started with Development

  1. Clone the repository and navigate to the gllm-tools directory
  2. Run make setup to set up your development environment
  3. Run which python to get the path to be referenced at Visual Studio Code interpreter path (Ctrl+Shift+P or Cmd+Shift+P)
  4. Try running the unit test to see if it's working:
poetry run pytest -s tests/unit_tests/

Components

The main components of the GLLM Tools are listed here alongside their documentations.

MCP (Model Context Protocol)

The MCP documentation can be found here.

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

Uploaded CPython 3.13Windows x86-64

gllm_tools_binary-0.1.4-cp313-cp313-manylinux_2_31_x86_64.whl (591.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.1.4-cp313-cp313-macosx_13_0_arm64.whl (361.7 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_tools_binary-0.1.4-cp312-cp312-win_amd64.whl (400.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_tools_binary-0.1.4-cp312-cp312-manylinux_2_31_x86_64.whl (593.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.1.4-cp312-cp312-macosx_13_0_arm64.whl (361.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_tools_binary-0.1.4-cp311-cp311-win_amd64.whl (408.5 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_tools_binary-0.1.4-cp311-cp311-manylinux_2_31_x86_64.whl (543.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_tools_binary-0.1.4-cp311-cp311-macosx_13_0_arm64.whl (358.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4f73c93986abdc876183596b8d7b14e4e3391d7bd443356a0b825d286ff0c4ad
MD5 57cd98a8ad2e73d3e90e4d43d77e9cb2
BLAKE2b-256 513a0edd3edcf7520e0c6b022dab09e967f264f56e5692eea428d85852619156

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.4-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 726dd45afae0429c8cb0f70da300afbd6c708b0ca5b45e7cce6ecd8b5f0baedb
MD5 9078f871c382d859d627bce0ed0d64f9
BLAKE2b-256 df5e28c9456ceb7d77531237c5836d729e98c740a175a634a393357e2e5f776c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.4-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4aab1fd50d6eebb01d2abf19272e31700bcebb913f56997c903df349a6ba2471
MD5 dda8505ca2334ac070e2894dbcf51a6f
BLAKE2b-256 e9356fb1dccf33f9978cb82822c5eab6e06f1ff42f116252a1ce2ab18ecdcedf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 059e137ff80388b79925cf1c01d087456c65e45000da4e1356aa07ee9f55db3e
MD5 6a802e9f173c49aea154467b0ef90d90
BLAKE2b-256 70c96be391e3d0a586fc06fb91671e44d9f58217a9ca08cb67fd2063a9142885

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.4-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 eb0983a5342a0810ba7b9b167f9da7930eba1f6fe5871a3d6be0e518e486f36b
MD5 01d5e2757d6aaffb942b02b25d485c89
BLAKE2b-256 b7fdbac9b8b791da2c5c9e245e596d95eb8e079c6828888aebc8f13466e682e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.4-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3e18b849ed08501f49c21e33d048a77e894d466ffb988b17c955f393a0b4585d
MD5 58b8d00ae86ad03992e265aa96328c8a
BLAKE2b-256 f4ad82fb867b905619470f56790f950215ec0e92c74447d58bca0f1d7813b291

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 908107b8c42ddf5e1000db842b06c3ffd4dc1894594de5312aab83305714971b
MD5 4b72b96b869b7b8961aad1c67ad4bc5d
BLAKE2b-256 64bc723bfd3c77cb0dac6acc9d85d531350e630c61573dcc4b1c5fef0c931e99

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.4-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d3b97c256f1a48dfab33fd49c46d51cd465bed16723daf43aaea5092d428f77a
MD5 215d3174234aa94d733892e0210e408d
BLAKE2b-256 73032a0e89c86c44465e0bcf0daa32c48d1c323a5a9f9afe94ee6f909cc3a2c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_tools_binary-0.1.4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1b5ef45848b5cab33f4dae69ec08a31e5e58f1fc9e49998f71c3f22e62766c8e
MD5 f2f9ab2f02adc90d739ccf923e351488
BLAKE2b-256 fa1e108c56de40a58bfb0bee5a92522f93752bb42aba7d47d99c5c60b31e1618

See more details on using hashes here.

Provenance

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