Skip to main content

GLLM Misc

Description

A library containing miscellaneous utilities and helper functions for Generative AI applications.

Error Handling

Supported cache, graph/mindmap, and graph utility boundaries expose safe typed errors from gllm_misc.exceptions. These inherit both gllm-core.BaseError and ValueError; missing-dependency errors also inherit ImportError. See Error Handling for the exact code/message catalog, upstream mappings, diagnostics, catch migration, and consuming-service responsibilities. When json_repair is unavailable, the typed error directs users to install gllm-misc[json-repair] or add json_repair to the environment.

Automatic retries are deferred for this slice (user decision, 2026-10-14). Misc adds no cache retries, model retry defaults, or outer retry loops. Caller-supplied retry configuration and injected invokers' retry policies remain unchanged.


Installation

Prerequisites

Mandatory:

  1. Python 3.11+ — Install here
  2. pip — Install here
  3. uv — Install here
  4. gcloud CLI (for authentication) — Install here, then log in using:
    gcloud auth login
    

Install from Artifact Registry

This requires authentication via the gcloud CLI.

Runtime requirements include gllm-core>=0.4.54,<0.5.0, gllm-inference[google]>=0.6.181,<0.7.0, and gllm-datastore[chroma]>=0.5.102,<0.6.0. The current lockfile resolves core 0.4.58, inference 0.6.182, and datastore 0.5.102; released-package installation was verified during dependency preparation. This is not a claim that all supported versions or runtime failure paths were tested.

Unstructured graph extraction requires the optional json-repair extra; install gllm-misc[json-repair] when using it. Optional-dependency checks retain their existing import/construction timing.

uv pip install \
  --extra-index-url "https://oauth2accesstoken:$(gcloud auth print-access-token)@glsdk.gdplabs.id/gen-ai-internal/simple/" \
  gllm-misc

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-misc

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.

Metadata

Release files for gllm-misc-binary 0.9.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for gllm-misc-binary 0.9.11
File Actions
gllm_misc_binary-0.9.11-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for gllm_misc_binary-0.9.11-cp313-cp313-win_amd64.whl
gllm_misc_binary-0.9.11-cp313-cp313-macosx_13_0_arm64.whl CPython 3.13 CPython 3.13 macOS 13.0+ ARM64 Details for gllm_misc_binary-0.9.11-cp313-cp313-macosx_13_0_arm64.whl
gllm_misc_binary-0.9.11-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for gllm_misc_binary-0.9.11-cp312-cp312-win_amd64.whl
gllm_misc_binary-0.9.11-cp312-cp312-macosx_13_0_arm64.whl CPython 3.12 CPython 3.12 macOS 13.0+ ARM64 Details for gllm_misc_binary-0.9.11-cp312-cp312-macosx_13_0_arm64.whl
gllm_misc_binary-0.9.11-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for gllm_misc_binary-0.9.11-cp311-cp311-win_amd64.whl
gllm_misc_binary-0.9.11-cp311-cp311-macosx_13_0_arm64.whl CPython 3.11 CPython 3.11 macOS 13.0+ ARM64 Details for gllm_misc_binary-0.9.11-cp311-cp311-macosx_13_0_arm64.whl

Total release size: 2.0 MB

Release files / gllm_misc_binary-0.9.11-cp313-cp313-win_amd64.whl

Download URL gllm_misc_binary-0.9.11-cp313-cp313-win_amd64.whl
Size 326.6 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
435bc7c2ca9305f485cf079c26a016c904ad9839178971c3108d485c6c3f604a
BLAKE2b-256 checksum
How to use checksums
afc64f4e2770fb71d4f7ff1fe93c14f24c101a7915aa844989faf269c2345783
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / gllm_misc_binary-0.9.11-cp313-cp313-macosx_13_0_arm64.whl

Download URL gllm_misc_binary-0.9.11-cp313-cp313-macosx_13_0_arm64.whl
Size 349.2 kB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
b9370f69f63e293540f0cee10fd35d43bd001ccdd5d2d02114e699a0c1481bb7
BLAKE2b-256 checksum
How to use checksums
4d02b137ec8373ecb456303b10546295c477b7b27780105482dc8a7ddde71d04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / gllm_misc_binary-0.9.11-cp312-cp312-win_amd64.whl

Download URL gllm_misc_binary-0.9.11-cp312-cp312-win_amd64.whl
Size 327.1 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
e281d969fbc1d37c4a50616fab8fcf203687b06ece8439d0a2f8e7d834e4ce17
BLAKE2b-256 checksum
How to use checksums
41c14a57316e3639bbf17a9a6a88246f80f8fa7df99c15e37b9398c5cec9921b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / gllm_misc_binary-0.9.11-cp312-cp312-macosx_13_0_arm64.whl

Download URL gllm_misc_binary-0.9.11-cp312-cp312-macosx_13_0_arm64.whl
Size 343.0 kB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
e6e1528d408d5889799b9ecc00513d406af3c7041115680711073e4d90bc0fb5
BLAKE2b-256 checksum
How to use checksums
d57d6a9c54f46bab3d55f2e1d5960aab33f1c1976ee9726b9ec905cfc86cf874
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / gllm_misc_binary-0.9.11-cp311-cp311-win_amd64.whl

Download URL gllm_misc_binary-0.9.11-cp311-cp311-win_amd64.whl
Size 330.2 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
2d7e4f8288f37af06492dbd598c2c210a19ef833ec7400a0e7ed9a84c878a25e
BLAKE2b-256 checksum
How to use checksums
13294941075a19e8581e4b22fa4c703a10998cbc0de591452d2f8402964cf6d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / gllm_misc_binary-0.9.11-cp311-cp311-macosx_13_0_arm64.whl

Download URL gllm_misc_binary-0.9.11-cp311-cp311-macosx_13_0_arm64.whl
Size 339.6 kB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
5c042dba96354f5dd4d57d622e33848ad3982858fd165e0067b2e3179ac62cf2
BLAKE2b-256 checksum
How to use checksums
68337fdf55381a929d0c1cd9445d011d465ec4607ee10181632d5032ec939dcd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Security for gllm-misc-binary 0.9.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for gllm_misc_binary-0.9.11-cp313-cp313-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page