Skip to main content

GLLM Generation

Description

A library containing generation related components in Gen AI applications.


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.

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

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

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.

Release files for gllm-generation-binary 0.6.26

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-generation-binary 0.6.26
File
gllm_generation_binary-0.6.26-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
gllm_generation_binary-0.6.26-cp313-cp313-macosx_13_0_arm64.whl CPython 3.13 CPython 3.13 macOS 13.0+ ARM64 Details
gllm_generation_binary-0.6.26-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
gllm_generation_binary-0.6.26-cp312-cp312-macosx_13_0_arm64.whl CPython 3.12 CPython 3.12 macOS 13.0+ ARM64 Details
gllm_generation_binary-0.6.26-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
gllm_generation_binary-0.6.26-cp311-cp311-macosx_13_0_arm64.whl CPython 3.11 CPython 3.11 macOS 13.0+ ARM64 Details

Total release size: 4.8 MB

Release files / gllm_generation_binary-0.6.26-cp313-cp313-win_amd64.whl

Download URL gllm_generation_binary-0.6.26-cp313-cp313-win_amd64.whl
Size 773.3 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
e9ed48b237c2629664f9df837a52579bdd0e7d302bf5c26926a3b34918c4a062
BLAKE2b-256 checksum
How to use checksums
390a823b1e9c7e411c140350441a1706b213e91d972fdee4fdbfc7d76f0cbe41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 25, 2026.

Transparency log

Release files / gllm_generation_binary-0.6.26-cp313-cp313-macosx_13_0_arm64.whl

Download URL gllm_generation_binary-0.6.26-cp313-cp313-macosx_13_0_arm64.whl
Size 845.9 kB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
58bb422af6d7b191884da0a17676af5da0f243f1ff36e84bc5031e3bd00d1c9a
BLAKE2b-256 checksum
How to use checksums
6c362d82f4cfd379e0642ef2c65fd524d336588d1e5c455071efa600d22aed19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 25, 2026.

Transparency log

Release files / gllm_generation_binary-0.6.26-cp312-cp312-win_amd64.whl

Download URL gllm_generation_binary-0.6.26-cp312-cp312-win_amd64.whl
Size 772.1 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
fa787b43deabb7d4de88cec4572bcdad290a35f6deed1fe72217ed6e74e319cc
BLAKE2b-256 checksum
How to use checksums
f1992683ee60fc9122598c42b29198d99b2672452f1c64e78544be22209d84e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 25, 2026.

Transparency log

Release files / gllm_generation_binary-0.6.26-cp312-cp312-macosx_13_0_arm64.whl

Download URL gllm_generation_binary-0.6.26-cp312-cp312-macosx_13_0_arm64.whl
Size 822.7 kB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
1955b8a27affd020b76bc4adfea8d998bd15c72f5a002fa7e5a82f786f0b2015
BLAKE2b-256 checksum
How to use checksums
19eea1327e52db7a8ad7ff00f7be2286edd831e0f77a1c5d6e15b58a165d13be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 25, 2026.

Transparency log

Release files / gllm_generation_binary-0.6.26-cp311-cp311-win_amd64.whl

Download URL gllm_generation_binary-0.6.26-cp311-cp311-win_amd64.whl
Size 802.2 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
01bb837385e1166f069b45dd7750f821b2fdc285e722603eb0183494c9580bf8
BLAKE2b-256 checksum
How to use checksums
3418719cb44a2441fc9a2bf9f2d90f3e6580459d8ca71dff52d0131f55d2cb35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 25, 2026.

Transparency log

Release files / gllm_generation_binary-0.6.26-cp311-cp311-macosx_13_0_arm64.whl

Download URL gllm_generation_binary-0.6.26-cp311-cp311-macosx_13_0_arm64.whl
Size 816.0 kB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
fde88c4691a4332bedf9ea2b0c89080ec8d8a9c52c25473bde7602f6e096fd82
BLAKE2b-256 checksum
How to use checksums
c0887eebaeb7cac337286633df05a7d6e0219be5567e4800152137182fdb489d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 25, 2026.

Transparency log
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