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.24

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.24
File
gllm_generation_binary-0.6.24-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
gllm_generation_binary-0.6.24-cp313-cp313-manylinux_2_31_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.31+ x86-64 Details
gllm_generation_binary-0.6.24-cp313-cp313-macosx_13_0_arm64.whl CPython 3.13 CPython 3.13 macOS 13.0+ ARM64 Details
gllm_generation_binary-0.6.24-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
gllm_generation_binary-0.6.24-cp312-cp312-manylinux_2_31_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.31+ x86-64 Details
gllm_generation_binary-0.6.24-cp312-cp312-macosx_13_0_arm64.whl CPython 3.12 CPython 3.12 macOS 13.0+ ARM64 Details
gllm_generation_binary-0.6.24-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
gllm_generation_binary-0.6.24-cp311-cp311-manylinux_2_31_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.31+ x86-64 Details
gllm_generation_binary-0.6.24-cp311-cp311-macosx_13_0_arm64.whl CPython 3.11 CPython 3.11 macOS 13.0+ ARM64 Details

Total release size: 8.0 MB

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

Download URL gllm_generation_binary-0.6.24-cp313-cp313-win_amd64.whl
Size 748.2 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
b06add5fb33f4441615720a74d6471fa2c28ea830b1892c12d4c07c4013d8a38
BLAKE2b-256 checksum
How to use checksums
7bd2205361e0976b3e819ae83f767b4b0e42f7093cd856a4d3486f326764a909
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 15, 2026.

Transparency log

Release files / gllm_generation_binary-0.6.24-cp313-cp313-manylinux_2_31_x86_64.whl

Download URL gllm_generation_binary-0.6.24-cp313-cp313-manylinux_2_31_x86_64.whl
Size 1.1 MB
Tags CPython 3.13 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
00c23e2bb829c8927fec5999b5d1a9f7911cc890ac8ede1dfb3458ed61835d8b
BLAKE2b-256 checksum
How to use checksums
afbef51184017deb327ad7ef70884b5375a705194d59842b2b84dc65f62aff81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.24

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

Download URL gllm_generation_binary-0.6.24-cp313-cp313-macosx_13_0_arm64.whl
Size 819.5 kB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
2feb53885c15e5d3ab4b09bc72527ec17e288828efb8c7bd6efb8d1675cfaccb
BLAKE2b-256 checksum
How to use checksums
081fc181d9f9687fbf7ddbbba6f2e4dd5275cd78b6fa068d0b8bcb2ac4483168
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 15, 2026.

Transparency log

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

Download URL gllm_generation_binary-0.6.24-cp312-cp312-win_amd64.whl
Size 747.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
406fe8da2f85dcff080bfec742f18d26dfd98a2190b2e2e95c82ed462f524004
BLAKE2b-256 checksum
How to use checksums
d464b1050f303f3f3a67b2e0289e23d6c6b7facbb78326b773b7ef024fa7358b
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 15, 2026.

Transparency log

Release files / gllm_generation_binary-0.6.24-cp312-cp312-manylinux_2_31_x86_64.whl

Download URL gllm_generation_binary-0.6.24-cp312-cp312-manylinux_2_31_x86_64.whl
Size 1.1 MB
Tags CPython 3.12 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
7a12ccf404f8e7cedd87158d596826cf3188d932a6d72032cb4ac00a4aca9501
BLAKE2b-256 checksum
How to use checksums
43fa7f4af922c51967d37c8f8d750a1688be871168c5ec32470d8d0d992131af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.24

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

Download URL gllm_generation_binary-0.6.24-cp312-cp312-macosx_13_0_arm64.whl
Size 796.2 kB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
f83e275850a8ae08c8fb095bdb6db3b2b3293ed734a25e3d36a48e1fcbba84a2
BLAKE2b-256 checksum
How to use checksums
63812ddbe6e06347cbbc739f61b5431fdb45d485189c3d9dc18ea9d85fcb61e0
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 15, 2026.

Transparency log

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

Download URL gllm_generation_binary-0.6.24-cp311-cp311-win_amd64.whl
Size 778.2 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
96334f5e1f6d554d68b84dc2ad66d46bfc09f5019032fe8ea6bff8c96265e0d6
BLAKE2b-256 checksum
How to use checksums
47240da73c8d5a614529f5cdb5de9a0a2ec63c8e8a8932d5f920d6ec9506e4ef
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 15, 2026.

Transparency log

Release files / gllm_generation_binary-0.6.24-cp311-cp311-manylinux_2_31_x86_64.whl

Download URL gllm_generation_binary-0.6.24-cp311-cp311-manylinux_2_31_x86_64.whl
Size 1.0 MB
Tags CPython 3.11 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
99049baae3b92e79adf87e71034af458aa91fa0ec274e256727a3f8347a1b350
BLAKE2b-256 checksum
How to use checksums
8f94aa4f9045a505881e898ecc8746ea225334d53ccae190afc7be1102428263
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.24

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

Download URL gllm_generation_binary-0.6.24-cp311-cp311-macosx_13_0_arm64.whl
Size 790.5 kB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
c27f978650ce7ee7c03e2dd4b896b77623cc576849a8ba7e8c4bce539358b691
BLAKE2b-256 checksum
How to use checksums
6fb12b88d6c0ea7753c824cf86397b1b3672b0fe173195cb348cfdb752bda1f8
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 15, 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