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

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

Total release size: 7.9 MB

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

Download URL gllm_generation_binary-0.6.23-cp313-cp313-win_amd64.whl
Size 741.6 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
ed5984015f45bad57174c9ad6c3b31e87cf66972f4c2c3543f5134d3a85baa20
BLAKE2b-256 checksum
How to use checksums
e50a87c97f4b6052b3ab444ddaec6787ee174af1955f6aaa52732c2f23ef0457
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 14, 2026.

Transparency log

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

Download URL gllm_generation_binary-0.6.23-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
463ee622e451abfd2746767d3f2b1fc5b52ed764f07f7c5ed33302d5c1542fd5
BLAKE2b-256 checksum
How to use checksums
12f1436292d6f6157bd9e4a4626ea8f05bf8010b7f934792ab3e6ad4f634f75f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.24

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

Download URL gllm_generation_binary-0.6.23-cp313-cp313-macosx_13_0_arm64.whl
Size 810.9 kB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
c754076e798d861ed1dc7e0db3a5fe22aabc7b77cbe39e56eec3e497560bb71f
BLAKE2b-256 checksum
How to use checksums
3ea3ac244903369ac8688664894ece98587c107d4834f9ebaec9bf0fc0b70ce4
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 14, 2026.

Transparency log

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

Download URL gllm_generation_binary-0.6.23-cp312-cp312-win_amd64.whl
Size 740.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
5bc98d3542e3cda63ce9de1aecf95d4681d4e2fec5b06dbcc4f1dd2358d3c60f
BLAKE2b-256 checksum
How to use checksums
59581d158019ae2de0a76a322a650d1275d7cd3c6c506f8234bbecf79354033e
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 14, 2026.

Transparency log

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

Download URL gllm_generation_binary-0.6.23-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
8e0873f7f8f99be965a54bc67412d3dfb283de0ed6a3ac9731511cfd4c73596e
BLAKE2b-256 checksum
How to use checksums
22bfc4fce2035f2e54ef6e97bb8e4a15abb604cd9c3ea2b520037c0429d4bc0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.24

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

Download URL gllm_generation_binary-0.6.23-cp312-cp312-macosx_13_0_arm64.whl
Size 788.9 kB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
92b289381baa48ca6b43b25b2f5b33de5834be37fe41938901e3e28e0b2da9cf
BLAKE2b-256 checksum
How to use checksums
2aa6a20afd0c238c65be33b5bdffe6b5e744320a16da8a91318dda9dc5d3ae50
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 14, 2026.

Transparency log

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

Download URL gllm_generation_binary-0.6.23-cp311-cp311-win_amd64.whl
Size 773.1 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
f71de4d335de18c27ef679ac6b3efd7b258c0a9d0a7044c81b7dde1106850eae
BLAKE2b-256 checksum
How to use checksums
26580573f8b8e785dcade4c2a0502570efa40d4e9d20a306c712fd05ab6929aa
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 14, 2026.

Transparency log

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

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

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

Download URL gllm_generation_binary-0.6.23-cp311-cp311-macosx_13_0_arm64.whl
Size 784.0 kB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
c068a2eee601eb7e26994e17e12ab377fa2c49fa9a298aa036761d937d4b5ba6
BLAKE2b-256 checksum
How to use checksums
b58b23622dc8d7863db2b61d89a63b40d25f14fca5c13181eb4b3083c04eb197
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 14, 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