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

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

Download URL gllm_generation_binary-0.6.27-cp313-cp313-win_amd64.whl
Size 788.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
d25fbcdfe24361be121fbc03f814f7e340146d0645db799289012f8636a5efaa
BLAKE2b-256 checksum
How to use checksums
938638823b9a4e05f6a6f2d745a2dff0759df41cedea2ed83ec8fb671f3d8699
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 25, 2026.

Transparency log

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

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

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

Download URL gllm_generation_binary-0.6.27-cp313-cp313-macosx_13_0_arm64.whl
Size 863.7 kB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
cc64cabe191c53597881c528288902d3f97a2e2714130b0f9b2a516ee2ff18b3
BLAKE2b-256 checksum
How to use checksums
f1dabb57c89add6a61bcb54713f98219a9ace05e71d2a87a92b9fb8d7de390c0
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 25, 2026.

Transparency log

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

Download URL gllm_generation_binary-0.6.27-cp312-cp312-win_amd64.whl
Size 787.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
77dc53bd0a897f779121a2b9d8ecdcfa140d15f8ff84f2539f3261d37e2f4ab5
BLAKE2b-256 checksum
How to use checksums
d043bbf645a8b047e361b86a8bb359bdfffa62042af2db132529b608b7aa7bd2
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 25, 2026.

Transparency log

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

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

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

Download URL gllm_generation_binary-0.6.27-cp312-cp312-macosx_13_0_arm64.whl
Size 839.9 kB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
6032f5526c5741a758d9f7b02097fdb7a5cd8833b955b6a5638abda39514db63
BLAKE2b-256 checksum
How to use checksums
1b40f888bb55078f57904f7e1b57d0d7e2e29a816b6e6b287517c201a2f285f7
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 25, 2026.

Transparency log

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

Download URL gllm_generation_binary-0.6.27-cp311-cp311-win_amd64.whl
Size 819.4 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
064d7b3226ccdae2754d199cb7d51b213bd209f664210d4987f7fdffb724264b
BLAKE2b-256 checksum
How to use checksums
6fad454287a8888a536541b5b65dac2b2aac532745f57b07d150cdb360717135
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 25, 2026.

Transparency log

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

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

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

Download URL gllm_generation_binary-0.6.27-cp311-cp311-macosx_13_0_arm64.whl
Size 834.7 kB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
f8355612d80a30cfc75e880b95d7adc6ce6febbe204bfe67b20f2d48e0869f0e
BLAKE2b-256 checksum
How to use checksums
f795e955804880e37b9b62e6245e2bb750c90fa3725294b8b085004a37cd886a
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 25, 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