Skip to main content

GLLM Inference

Description

A library containing components related to model inferences in Gen AI applications.


Installation

Prerequisites

Mandatory:

  1. Python 3.11+ — Install here
  2. pip — Install here
  3. uv — Install here

Extras (required only for Artifact Registry installations):

  1. gcloud CLI (for authentication) — Install here, then log in using:
    gcloud auth login
    

Option 1: Install from Artifact Registry

This option 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-inference

Option 2: Install from PyPI

This option requires no authentication. However, it installs the binary wheel version of the package, which is fully usable but does not include source code.

uv pip install gllm-inference-binary

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-inference

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-inference-binary 0.6.145.post1

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-inference-binary 0.6.145.post1
File
gllm_inference_binary-0.6.145.post1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
gllm_inference_binary-0.6.145.post1-cp313-cp313-manylinux_2_31_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.31+ x86-64 Details
gllm_inference_binary-0.6.145.post1-cp313-cp313-macosx_13_0_arm64.whl CPython 3.13 CPython 3.13 macOS 13.0+ ARM64 Details
gllm_inference_binary-0.6.145.post1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
gllm_inference_binary-0.6.145.post1-cp312-cp312-manylinux_2_31_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.31+ x86-64 Details
gllm_inference_binary-0.6.145.post1-cp312-cp312-macosx_13_0_arm64.whl CPython 3.12 CPython 3.12 macOS 13.0+ ARM64 Details
gllm_inference_binary-0.6.145.post1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
gllm_inference_binary-0.6.145.post1-cp311-cp311-manylinux_2_31_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.31+ x86-64 Details
gllm_inference_binary-0.6.145.post1-cp311-cp311-macosx_13_0_arm64.whl CPython 3.11 CPython 3.11 macOS 13.0+ ARM64 Details

Total release size: 31.2 MB

Release files / gllm_inference_binary-0.6.145.post1-cp313-cp313-win_amd64.whl

Download URL gllm_inference_binary-0.6.145.post1-cp313-cp313-win_amd64.whl
Size 2.8 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
c0bb19c156ec7584731187d85400af60bb56667bde86464445d11ef414a7ef5e
BLAKE2b-256 checksum
How to use checksums
806468952f1d762a3a25f1355b75fd2ec588053765cd227b8e5b0f407c2e9510
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 4, 2026.

Transparency log

Release files / gllm_inference_binary-0.6.145.post1-cp313-cp313-manylinux_2_31_x86_64.whl

Download URL gllm_inference_binary-0.6.145.post1-cp313-cp313-manylinux_2_31_x86_64.whl
Size 4.3 MB
Tags CPython 3.13 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
4ee1ea153148d79c7afc8ebae2f1d3bd52ec219413d9ace16d26bd6cd1b2d758
BLAKE2b-256 checksum
How to use checksums
5f4f3e8d04956600d8e092b60a7748a3074aadd1be6802663ed10a9b29dce57a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.24

Release files / gllm_inference_binary-0.6.145.post1-cp313-cp313-macosx_13_0_arm64.whl

Download URL gllm_inference_binary-0.6.145.post1-cp313-cp313-macosx_13_0_arm64.whl
Size 3.4 MB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
cae6f3603d62a33c1e2ba9a00b2f964e3af939ae199943ac230e56ae69bb5c6b
BLAKE2b-256 checksum
How to use checksums
0d5767a87ed579fb133d3e76d10f971f6b05106e16103020150becba43b14671
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 4, 2026.

Transparency log

Release files / gllm_inference_binary-0.6.145.post1-cp312-cp312-win_amd64.whl

Download URL gllm_inference_binary-0.6.145.post1-cp312-cp312-win_amd64.whl
Size 2.8 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
c142784846c57bfc0daf0d3bb4f4e4f4a7a547d8994e867cb71a01f8a7efbc99
BLAKE2b-256 checksum
How to use checksums
9d235960ebafc92b66f8cd484d131df78b0fd033e4b3685757cfeae6b4a12c85
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 4, 2026.

Transparency log

Release files / gllm_inference_binary-0.6.145.post1-cp312-cp312-manylinux_2_31_x86_64.whl

Download URL gllm_inference_binary-0.6.145.post1-cp312-cp312-manylinux_2_31_x86_64.whl
Size 4.3 MB
Tags CPython 3.12 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
5fcea8e9e2f99ec3f587f844023f31988e0c8c34c04044a86b35284abb13446c
BLAKE2b-256 checksum
How to use checksums
f6047b95733394c2281774789f5681359cf501ed359ea4e132c1f86d13be45aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.24

Release files / gllm_inference_binary-0.6.145.post1-cp312-cp312-macosx_13_0_arm64.whl

Download URL gllm_inference_binary-0.6.145.post1-cp312-cp312-macosx_13_0_arm64.whl
Size 3.4 MB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
abfb91515f9b5c4eb3bf8de1c6a56f4c9c23c44ca9bc3fc47cb77efb4d254e76
BLAKE2b-256 checksum
How to use checksums
9e37a4de5e79a1ea47dab654140b780aff34966294a8923b50e5b4a4f92a0913
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 4, 2026.

Transparency log

Release files / gllm_inference_binary-0.6.145.post1-cp311-cp311-win_amd64.whl

Download URL gllm_inference_binary-0.6.145.post1-cp311-cp311-win_amd64.whl
Size 2.8 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
7defa97d42bb168ad4a157cb462503fd6ba9ae368f331231b7a2a7877abfc5d6
BLAKE2b-256 checksum
How to use checksums
37f597a4527ca39f296543c5064594ab59c45a4a3953dfb27ec26744f8fce867
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 4, 2026.

Transparency log

Release files / gllm_inference_binary-0.6.145.post1-cp311-cp311-manylinux_2_31_x86_64.whl

Download URL gllm_inference_binary-0.6.145.post1-cp311-cp311-manylinux_2_31_x86_64.whl
Size 3.9 MB
Tags CPython 3.11 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
c9b52b8b479549b3d1f07a4503ec8276de0ed9cbb02ef581835a07dbf4167bd0
BLAKE2b-256 checksum
How to use checksums
02a571da791f30fddede00a68879d03ffa7ec9a78346b3e77fc62c5031dc1485
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.24

Release files / gllm_inference_binary-0.6.145.post1-cp311-cp311-macosx_13_0_arm64.whl

Download URL gllm_inference_binary-0.6.145.post1-cp311-cp311-macosx_13_0_arm64.whl
Size 3.4 MB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
472acc0405612c3cc56d961f97e946dd464d1949197735864a24339f10390fdc
BLAKE2b-256 checksum
How to use checksums
3ac2ed30762a58ec5c627e3cc25fdb28ab505a448bb5304b1786307aca202d52
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 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.145.post1 This release

9 release files

0.6.99

9 release files

0.6.98

9 release files

0.6.97

9 release files

0.6.96

9 release files

0.6.83

9 release files

0.6.82

9 release files

0.6.81

9 release files

0.6.80

9 release files

0.6.79

9 release files

0.6.78

9 release files

0.6.77

9 release files

0.6.76

9 release files

0.6.75

9 release files

0.6.74

9 release files

0.6.73

9 release files

0.6.72

9 release files

0.6.71

9 release files

0.6.70

9 release files

0.6.69

3 release files

0.6.68

9 release files

0.6.67

9 release files

0.6.62

9 release files

0.6.61

9 release files

0.6.60

9 release files

0.6.59

9 release files

0.6.58

9 release files

0.6.57

9 release files

0.6.56

9 release files

0.6.55

9 release files

0.6.54

9 release files

0.6.53

9 release files

0.6.52

9 release files

0.6.50

9 release files

0.6.49

9 release files

0.6.48

9 release files

0.6.47

9 release files

0.6.46

9 release files

0.6.45

9 release files

0.6.44

9 release files

0.6.43

9 release files

0.6.32

9 release files

0.6.31

9 release files

0.6.30

9 release files

0.6.29

9 release files

0.6.28

9 release files

0.6.27

9 release files

0.6.26

9 release files

0.6.25

9 release files

0.6.24

9 release files

0.6.23

9 release files

0.6.22

9 release files

0.6.21

9 release files

0.6.20

9 release files

0.6.19

9 release files

0.6.18

9 release files

0.6.17

9 release files

0.6.16

9 release files

0.6.15

9 release files

0.6.14

9 release files

0.6.13

3 release files

0.6.12

9 release files

0.6.11

9 release files

0.6.10

9 release files

0.6.9

9 release files

0.6.8

9 release files

0.6.7

9 release files

0.6.6

9 release files

0.6.5

9 release files

0.6.4

9 release files

0.6.3

9 release files

0.6.2

9 release files

0.6.1

9 release files

0.6.0

9 release files

0.5.99

9 release files

0.5.98

9 release files

0.5.97

9 release files

0.5.96

9 release files

0.5.95

9 release files

0.5.94

9 release files

0.5.93

9 release files

0.5.92

9 release files

0.5.42

8 release files

0.5.6

12 release files

0.5.5

12 release files

0.5.4

12 release files

0.5.3

12 release files

0.5.2

12 release files

0.5.1

12 release files

0.5.0

12 release files

0.4.9

12 release files

0.4.8

12 release files

0.4.7

12 release files

0.4.6

12 release files

0.4.5

12 release files

0.4.4

12 release files

0.4.3

12 release files

0.4.2

12 release files

0.4.1

12 release files

0.4.0

12 release files

0.3.9

15 release files

0.3.5

12 release files

0.3.4

11 release files

0.3.3

12 release files

0.3.2

12 release files

0.3.1

7 release files

0.2.53

8 release files

0.2.52

8 release files

0.2.51

8 release files

0.2.50

8 release files

0.2.49

8 release files

0.2.48

8 release files

0.2.47

8 release files

0.2.38

8 release files

0.0.0

6 release files

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