A library for managing tools in Gen AI applications.
Project description
GLLM Tools
Description
Library containing tools for Generative AI Applications.
Installation
Prerequisites
Mandatory:
- Python 3.11+ — Install here
- pip — Install here
- uv — Install here
Extras (required only for Artifact Registry installations):
- 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
-
Python 3.11+ — Install here
-
pip — Install here
-
uv — Install here
-
gcloud CLI — Install here, then log in using:
gcloud auth login
-
Git — Install here
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gllm_tools_binary-0.2.0-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: gllm_tools_binary-0.2.0-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 446.4 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10726b64d9c484cc4961ee222c986e17c7685623385ca3493e97c608671c2482
|
|
| MD5 |
d1f52d938635eb93135c0c4135668391
|
|
| BLAKE2b-256 |
74ff53717bad23f98e4e8273d25ee93ecfad9d07dff607558bb052903ee5e4e6
|
Provenance
The following attestation bundles were made for gllm_tools_binary-0.2.0-cp313-cp313-win_amd64.whl:
Publisher:
build-binary.yml on GDP-ADMIN/gl-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gllm_tools_binary-0.2.0-cp313-cp313-win_amd64.whl -
Subject digest:
10726b64d9c484cc4961ee222c986e17c7685623385ca3493e97c608671c2482 - Sigstore transparency entry: 840257457
- Sigstore integration time:
-
Permalink:
GDP-ADMIN/gl-sdk@4ae5368111711218493342170040bca1d8ea3948 -
Branch / Tag:
refs/tags/gllm_tools-v0.2.0 - Owner: https://github.com/GDP-ADMIN
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-binary.yml@4ae5368111711218493342170040bca1d8ea3948 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gllm_tools_binary-0.2.0-cp313-cp313-manylinux_2_31_x86_64.whl.
File metadata
- Download URL: gllm_tools_binary-0.2.0-cp313-cp313-manylinux_2_31_x86_64.whl
- Upload date:
- Size: 653.1 kB
- Tags: CPython 3.13, manylinux: glibc 2.31+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.24
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2012885c85edd76af6812405b9399b7843c3559e8756cc88f3fec45d2cd54951
|
|
| MD5 |
03db8d1f86f3d580a0d42819fc906977
|
|
| BLAKE2b-256 |
68752532f68dbf1ee84d6cfa6505d3f8a93e95b19a17e9392fbf326b8d21ce98
|
File details
Details for the file gllm_tools_binary-0.2.0-cp313-cp313-macosx_13_0_arm64.whl.
File metadata
- Download URL: gllm_tools_binary-0.2.0-cp313-cp313-macosx_13_0_arm64.whl
- Upload date:
- Size: 414.9 kB
- Tags: CPython 3.13, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c2cf5593da859a5b8cafbe7be9b6b14be1d47272a0d7eb374244df1e3047120
|
|
| MD5 |
7a9dc26236b2bf3f2ed1b7de837dd353
|
|
| BLAKE2b-256 |
f2e278bc0c78c982b39bec900388c36570efd04be15748caafdb02de77744a61
|
Provenance
The following attestation bundles were made for gllm_tools_binary-0.2.0-cp313-cp313-macosx_13_0_arm64.whl:
Publisher:
build-binary.yml on GDP-ADMIN/gl-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gllm_tools_binary-0.2.0-cp313-cp313-macosx_13_0_arm64.whl -
Subject digest:
4c2cf5593da859a5b8cafbe7be9b6b14be1d47272a0d7eb374244df1e3047120 - Sigstore transparency entry: 840257490
- Sigstore integration time:
-
Permalink:
GDP-ADMIN/gl-sdk@4ae5368111711218493342170040bca1d8ea3948 -
Branch / Tag:
refs/tags/gllm_tools-v0.2.0 - Owner: https://github.com/GDP-ADMIN
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-binary.yml@4ae5368111711218493342170040bca1d8ea3948 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gllm_tools_binary-0.2.0-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: gllm_tools_binary-0.2.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 448.1 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ed669379bc53e81b4891065b5441927aa99d06593a1a781cc2963c6f018ecfd
|
|
| MD5 |
a9fa1af565d0032938477d4785aaffe3
|
|
| BLAKE2b-256 |
7789933fdfed8f3d78a7b2b8596a7dfd60bf3e925aaa2bd2467b56a4eba7b050
|
Provenance
The following attestation bundles were made for gllm_tools_binary-0.2.0-cp312-cp312-win_amd64.whl:
Publisher:
build-binary.yml on GDP-ADMIN/gl-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gllm_tools_binary-0.2.0-cp312-cp312-win_amd64.whl -
Subject digest:
4ed669379bc53e81b4891065b5441927aa99d06593a1a781cc2963c6f018ecfd - Sigstore transparency entry: 840257889
- Sigstore integration time:
-
Permalink:
GDP-ADMIN/gl-sdk@4ae5368111711218493342170040bca1d8ea3948 -
Branch / Tag:
refs/tags/gllm_tools-v0.2.0 - Owner: https://github.com/GDP-ADMIN
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-binary.yml@4ae5368111711218493342170040bca1d8ea3948 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gllm_tools_binary-0.2.0-cp312-cp312-manylinux_2_31_x86_64.whl.
File metadata
- Download URL: gllm_tools_binary-0.2.0-cp312-cp312-manylinux_2_31_x86_64.whl
- Upload date:
- Size: 655.9 kB
- Tags: CPython 3.12, manylinux: glibc 2.31+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.24
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e9ab69ddcda11091aac8d41750d29d4af88a769ef1a934aa5ca00fce6070484
|
|
| MD5 |
6bdc9070306fd771f398c1130bbe0860
|
|
| BLAKE2b-256 |
79beb041472e60f99888efc9b6d453f20bc971a135439e8981ba84d50a71d761
|
File details
Details for the file gllm_tools_binary-0.2.0-cp312-cp312-macosx_13_0_arm64.whl.
File metadata
- Download URL: gllm_tools_binary-0.2.0-cp312-cp312-macosx_13_0_arm64.whl
- Upload date:
- Size: 413.6 kB
- Tags: CPython 3.12, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4ee97f1c788e4c442594bde01b5330d7eaa8aa13d7790298eacdf9e158d5389
|
|
| MD5 |
013989565fb7a7b19a5f6fc9bc210978
|
|
| BLAKE2b-256 |
616eff92d1c49aa0b2483319ebfb0f401b46ad944e0ad0d17637baa560ea4fe9
|
Provenance
The following attestation bundles were made for gllm_tools_binary-0.2.0-cp312-cp312-macosx_13_0_arm64.whl:
Publisher:
build-binary.yml on GDP-ADMIN/gl-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gllm_tools_binary-0.2.0-cp312-cp312-macosx_13_0_arm64.whl -
Subject digest:
e4ee97f1c788e4c442594bde01b5330d7eaa8aa13d7790298eacdf9e158d5389 - Sigstore transparency entry: 840257921
- Sigstore integration time:
-
Permalink:
GDP-ADMIN/gl-sdk@4ae5368111711218493342170040bca1d8ea3948 -
Branch / Tag:
refs/tags/gllm_tools-v0.2.0 - Owner: https://github.com/GDP-ADMIN
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-binary.yml@4ae5368111711218493342170040bca1d8ea3948 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gllm_tools_binary-0.2.0-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: gllm_tools_binary-0.2.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 456.8 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77194eaa0b36947ec2ae3a85b18cdcf7a4b60f900f31eb3d9bcecdbc3c161230
|
|
| MD5 |
1d5005c08e57b1898c4da33c813d2fab
|
|
| BLAKE2b-256 |
8b369e32a133f3a38d4c8fd65ea08773f14069b13b9df237a41fe1224517ee93
|
Provenance
The following attestation bundles were made for gllm_tools_binary-0.2.0-cp311-cp311-win_amd64.whl:
Publisher:
build-binary.yml on GDP-ADMIN/gl-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gllm_tools_binary-0.2.0-cp311-cp311-win_amd64.whl -
Subject digest:
77194eaa0b36947ec2ae3a85b18cdcf7a4b60f900f31eb3d9bcecdbc3c161230 - Sigstore transparency entry: 840257708
- Sigstore integration time:
-
Permalink:
GDP-ADMIN/gl-sdk@4ae5368111711218493342170040bca1d8ea3948 -
Branch / Tag:
refs/tags/gllm_tools-v0.2.0 - Owner: https://github.com/GDP-ADMIN
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-binary.yml@4ae5368111711218493342170040bca1d8ea3948 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gllm_tools_binary-0.2.0-cp311-cp311-manylinux_2_31_x86_64.whl.
File metadata
- Download URL: gllm_tools_binary-0.2.0-cp311-cp311-manylinux_2_31_x86_64.whl
- Upload date:
- Size: 606.0 kB
- Tags: CPython 3.11, manylinux: glibc 2.31+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.24
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2716d7d527cdbdca6f9fb9b5c9e5166f5f593f0df31bc70f1434d5f2cf0a9d5f
|
|
| MD5 |
23042f9337cb0c1542fae387819f24ca
|
|
| BLAKE2b-256 |
e7f9a1ae5de85f5aea341ea2b29dab386e5e6310ff02c4325178a910f10b95b5
|
File details
Details for the file gllm_tools_binary-0.2.0-cp311-cp311-macosx_13_0_arm64.whl.
File metadata
- Download URL: gllm_tools_binary-0.2.0-cp311-cp311-macosx_13_0_arm64.whl
- Upload date:
- Size: 412.2 kB
- Tags: CPython 3.11, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c7496a80cf05a6ded7e01ece4c701516ebe01d76ca6ce12055d1a8f575fc2f6
|
|
| MD5 |
050c89c4cc86cc2961be8faae6f21060
|
|
| BLAKE2b-256 |
59903057c18f4633815412cdb065eb4dcbe6978bd8bdd10f744c19c3c95972e5
|
Provenance
The following attestation bundles were made for gllm_tools_binary-0.2.0-cp311-cp311-macosx_13_0_arm64.whl:
Publisher:
build-binary.yml on GDP-ADMIN/gl-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gllm_tools_binary-0.2.0-cp311-cp311-macosx_13_0_arm64.whl -
Subject digest:
7c7496a80cf05a6ded7e01ece4c701516ebe01d76ca6ce12055d1a8f575fc2f6 - Sigstore transparency entry: 840257602
- Sigstore integration time:
-
Permalink:
GDP-ADMIN/gl-sdk@4ae5368111711218493342170040bca1d8ea3948 -
Branch / Tag:
refs/tags/gllm_tools-v0.2.0 - Owner: https://github.com/GDP-ADMIN
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-binary.yml@4ae5368111711218493342170040bca1d8ea3948 -
Trigger Event:
push
-
Statement type: