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

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

Download URL gllm_generation_binary-0.6.25-cp313-cp313-win_amd64.whl
Size 755.1 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
008496eaf4954929341f27270f8d7047da2570e6a718a82fd578da003fb60607
BLAKE2b-256 checksum
How to use checksums
84068b5cf2b7ff233154361c0b0a8cb397b2a03b2a55bcaf322375319bc670fa
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 18, 2026.

Transparency log

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

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

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

Download URL gllm_generation_binary-0.6.25-cp313-cp313-macosx_13_0_arm64.whl
Size 826.1 kB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
670aa49cb845de408219615eeab42b80f93dcb670b39551bbc717ded6d07bb6b
BLAKE2b-256 checksum
How to use checksums
4feba1271d63905db1475c336e80d368df205c7dd7db2e98751e38a2996ea12d
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 18, 2026.

Transparency log

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

Download URL gllm_generation_binary-0.6.25-cp312-cp312-win_amd64.whl
Size 754.3 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
1b14d34c53d45bf04a88699497f559db4f8ea10606cc27f0a3e03f3e9ad1d964
BLAKE2b-256 checksum
How to use checksums
4832d4b672edca5b003d1e40422ad3c644e06bf1c9bb2be1c7074a400de50047
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 18, 2026.

Transparency log

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

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

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

Download URL gllm_generation_binary-0.6.25-cp312-cp312-macosx_13_0_arm64.whl
Size 802.7 kB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
e36d221fc746495786f85c6ccdacdfa7b3a530af338b931fb170aaf7290cb920
BLAKE2b-256 checksum
How to use checksums
e99b1ab96f0f822ec2ef352166c1e74593df749739f69936244f08769b4b3445
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 18, 2026.

Transparency log

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

Download URL gllm_generation_binary-0.6.25-cp311-cp311-win_amd64.whl
Size 784.8 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
a876d48ba09260e085953786cea678498d337a849eac10d9fbd052e017d3f1a7
BLAKE2b-256 checksum
How to use checksums
ea11679768e1ef45a846fe1e58549cddeab9465ac5738641c0dd83ea559cdccc
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 18, 2026.

Transparency log

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

Download URL gllm_generation_binary-0.6.25-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
85575ee24ea0f0c472c4d408dc36e3dce40bfd999a45240589797eb6601646b2
BLAKE2b-256 checksum
How to use checksums
6871853daaf2ca2fb16dca06144bd80e0a4701675ee115afeaf67571a0d0044a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.24

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

Download URL gllm_generation_binary-0.6.25-cp311-cp311-macosx_13_0_arm64.whl
Size 797.7 kB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
41ccae6a11b1f6af92784d1fe6ae64b4595ea86efb441c768ae4c4079f540c6c
BLAKE2b-256 checksum
How to use checksums
9dd5104bf733fa121c2413a10ad0a97edf939733f4133e65343f84c8be08304b
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 18, 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