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

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

Total release size: 8.5 MB

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

Download URL gllm_generation_binary-0.6.31-cp313-cp313-win_amd64.whl
Size 805.2 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
01225ee63757106028117a9bba829a7e56bceea6a3eb2dbda19b929244203937
BLAKE2b-256 checksum
How to use checksums
2b771acd01b9188a7522e3d3e2749fc873d2d69ce22f76d2adb56b4d65ff182d
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 7, 2026.

Transparency log

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

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

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

Download URL gllm_generation_binary-0.6.31-cp313-cp313-macosx_13_0_arm64.whl
Size 879.2 kB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
6aca84c6126fccf94defb51662b4c44069e136dbb1ad018906de9b1c6e106525
BLAKE2b-256 checksum
How to use checksums
5ff4f52fb4541e2b8a407785367f0cc198717b88073c19962a16077219169996
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 7, 2026.

Transparency log

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

Download URL gllm_generation_binary-0.6.31-cp312-cp312-win_amd64.whl
Size 804.4 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
685b791dcb68cf99c238d2aff1c20235025718fad06fce2d964aec490073f463
BLAKE2b-256 checksum
How to use checksums
b6029b7dec186a55b33b37aeb7412ac1500ee1f0ade84585470311c26dbf9e4b
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 7, 2026.

Transparency log

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

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

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

Download URL gllm_generation_binary-0.6.31-cp312-cp312-macosx_13_0_arm64.whl
Size 854.7 kB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
ea7209c58a1f1249816fabee11c2c6925379e8de4ad1dacdeba63cfd201f1eae
BLAKE2b-256 checksum
How to use checksums
fa96668c5954377275145fba726f5b2dc4358fd831defaba0acbdef52ae35a80
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 7, 2026.

Transparency log

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

Download URL gllm_generation_binary-0.6.31-cp311-cp311-win_amd64.whl
Size 837.1 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
5ed21824d6161c1600eadd83cdd5e9728c5daabcf51afc78f311114d57663a8c
BLAKE2b-256 checksum
How to use checksums
cc8f5594e30d20a2009b4af5222a15090204baba7934b34ab0311234d860d820
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 7, 2026.

Transparency log

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

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

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

Download URL gllm_generation_binary-0.6.31-cp311-cp311-macosx_13_0_arm64.whl
Size 847.6 kB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
9b2fdba5af1a16da01fa6f1575cdb1cd54b5a3f5b353a65208d2fa19ea3d09fd
BLAKE2b-256 checksum
How to use checksums
3ddf7b1201b3644f485246a93f95304dd60f1e0947e4f9be0590969de308df56
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 7, 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