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

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

Download URL gllm_generation_binary-0.6.28-cp313-cp313-win_amd64.whl
Size 788.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
ce3d5d1759231db3c40cf2fdff14f7a04cfef45326bd881215d30b14ad7e0c50
BLAKE2b-256 checksum
How to use checksums
acd962fddb2543a221008c23062ad75a2e7979155b660aa6ba48dd702a5d7654
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.28-cp313-cp313-manylinux_2_31_x86_64.whl

Download URL gllm_generation_binary-0.6.28-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
c6f9e517fe5ee941eca76b1c43b419b2ae27679a269aae7acc01a5970cb6e157
BLAKE2b-256 checksum
How to use checksums
5d0153ed9b9e7c0ba00e31afa20adc32e9d2b516fc5cda10ce53e91dc7b2a41d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.24

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

Download URL gllm_generation_binary-0.6.28-cp313-cp313-macosx_13_0_arm64.whl
Size 864.2 kB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
05f256485565ee2323f775547ce3f53d0be17b51672174d16457c2ff80cd50c2
BLAKE2b-256 checksum
How to use checksums
daa7b4333867502b513a556397667df6dbef896e66835e51ef4f5e7b0dc3b7dc
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.28-cp312-cp312-win_amd64.whl

Download URL gllm_generation_binary-0.6.28-cp312-cp312-win_amd64.whl
Size 787.9 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
73bd454d53511ea423700b97bd9615f2ca8b395229056a08acd6101551a65f14
BLAKE2b-256 checksum
How to use checksums
fd96852e37905b85997c0afd23cb8bc5d404da73e77f7129c2e6d9b3bdc77dbb
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.28-cp312-cp312-manylinux_2_31_x86_64.whl

Download URL gllm_generation_binary-0.6.28-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
6a6e6354e8cc6d51f6bd5e7897bf548e5a788acd99fdaaa18b0f8c6e9db83942
BLAKE2b-256 checksum
How to use checksums
d88a546b9512be72adfc5381323c6f35660a0ada04558e35457bff17d9fd4151
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.24

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

Download URL gllm_generation_binary-0.6.28-cp312-cp312-macosx_13_0_arm64.whl
Size 840.2 kB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
5444890dcc62ba5df310d0a4aac6b621d99f739fc6c54355731e6375a3518c04
BLAKE2b-256 checksum
How to use checksums
fe0a2f8ed3caed79d7868518870f24762a00851402f496b9a6669e47afefeae0
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.28-cp311-cp311-win_amd64.whl

Download URL gllm_generation_binary-0.6.28-cp311-cp311-win_amd64.whl
Size 819.8 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
0aa5804ecffa1ad2b15957f9babde51e4b9120c48cd401fa4a555bcb26de8a79
BLAKE2b-256 checksum
How to use checksums
f0b6c7d4e03f9905d8680430f9279fbed427e70c7829468bd3aeafd5410f74b8
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.28-cp311-cp311-manylinux_2_31_x86_64.whl

Download URL gllm_generation_binary-0.6.28-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
7eff4f4dbf9dffc578dc0bd1256e238133a84c52bbcda97c50fcb07d13fb97a4
BLAKE2b-256 checksum
How to use checksums
491034d7c6b18c775a5b89eabb698b5e72672e787c72923eb9b0696d3bc495f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.24

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

Download URL gllm_generation_binary-0.6.28-cp311-cp311-macosx_13_0_arm64.whl
Size 834.8 kB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
8e06825cb2731b5086efaccb3d47e72dc00ceed68e5174412c0dc653ff520867
BLAKE2b-256 checksum
How to use checksums
7752726350f6b6b7c1768b3e2dcbae45058abdcb94c5815f67d3926bc280a428
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