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.

Metadata

Release files for gllm-generation-binary 0.6.29

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

Total release size: 8.4 MB

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

Download URL gllm_generation_binary-0.6.29-cp313-cp313-win_amd64.whl
Size 792.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
4522481484869cccc30bffee87dce6c06ae29a9ac8ed4b995ef173cc48eac12a
BLAKE2b-256 checksum
How to use checksums
3cee8ae87766dd9512b8e1ad6001493b30c9b7cac4618aca7080e6a4105106e9
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 Oct 1, 2026.

Transparency log

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

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

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

Download URL gllm_generation_binary-0.6.29-cp313-cp313-macosx_13_0_arm64.whl
Size 866.8 kB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
80033571113988e5a7dc57b862b44a2fa84de9dc7d88633da38b654af9fc79db
BLAKE2b-256 checksum
How to use checksums
a201532434941deb0577eb21de171683be16521ab8d1764e2a7da5ac9a2b94f2
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 Oct 1, 2026.

Transparency log

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

Download URL gllm_generation_binary-0.6.29-cp312-cp312-win_amd64.whl
Size 792.0 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
dd5afb9bad818ceb0381027824f2228543cbb308e442d7b6ababb3742c2bafc4
BLAKE2b-256 checksum
How to use checksums
da19b922968dd8eba900151b6b2873a1b17f50b61b3dceb0dedbec9da66161e6
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 Oct 1, 2026.

Transparency log

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

Download URL gllm_generation_binary-0.6.29-cp312-cp312-manylinux_2_31_x86_64.whl
Size 1.2 MB
Tags CPython 3.12 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
6c6a5d43f8e61dda3501b517191e87e1c483548008b1fdc7beda94d17da6a0aa
BLAKE2b-256 checksum
How to use checksums
a99483321dc3a5458177b4bffd625119de5bc6754e70c16cd23320a0e381c653
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.24

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

Download URL gllm_generation_binary-0.6.29-cp312-cp312-macosx_13_0_arm64.whl
Size 842.9 kB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
1e7dde81de41a9f65a146795086f7fc2c68ec379159d5d265eac8e7e5243537a
BLAKE2b-256 checksum
How to use checksums
af721abc58a544e35a76a8df6332b259dee0f48807df2595f65a73c10c272c57
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 Oct 1, 2026.

Transparency log

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

Download URL gllm_generation_binary-0.6.29-cp311-cp311-win_amd64.whl
Size 824.4 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
7f090ea49df97bd3637914921e74432bb09ba1fce010d3a285220cf30c45423b
BLAKE2b-256 checksum
How to use checksums
38094097fa7baba5a20563acfbc30d9919a6cddb29e97cf3b56b2eab2b16c794
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 Oct 1, 2026.

Transparency log

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

Download URL gllm_generation_binary-0.6.29-cp311-cp311-manylinux_2_31_x86_64.whl
Size 1.1 MB
Tags CPython 3.11 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
a5ac3b9fa3d58d5c201e7a1e66492bde8525d4df1e4fd8c12266a3a27dfdcb98
BLAKE2b-256 checksum
How to use checksums
2fc6759ab0f08f25c179bce5eee1e488f0c320b70d04bb9609a97b5031be9ad4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.24

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

Download URL gllm_generation_binary-0.6.29-cp311-cp311-macosx_13_0_arm64.whl
Size 837.9 kB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
17963ae098135786f732c30b2bb3ca773799bc3164f0c2f3bb374633195e2ae8
BLAKE2b-256 checksum
How to use checksums
fbbaf28d094c38b2eb77b835924ed6ed8308f861bd7884e6a45c7ac5d508c825
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 Oct 1, 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