Skip to main content

GLLM Core

Description

A core library providing foundational components and utilities for Generative 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-core

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

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gllm_core_binary-0.4.37.post2-cp313-cp313-win_amd64.whl (642.4 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.37.post2-cp313-cp313-manylinux_2_31_x86_64.whl (978.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.37.post2-cp313-cp313-macosx_13_0_arm64.whl (700.7 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.37.post2-cp312-cp312-win_amd64.whl (646.2 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.37.post2-cp312-cp312-manylinux_2_31_x86_64.whl (977.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.37.post2-cp312-cp312-macosx_13_0_arm64.whl (698.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.37.post2-cp311-cp311-win_amd64.whl (671.5 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.37.post2-cp311-cp311-manylinux_2_31_x86_64.whl (893.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.37.post2-cp311-cp311-macosx_13_0_arm64.whl (690.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_core_binary-0.4.37.post2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 19a121e9174c38a766a17f28ecb78d847822af60e3140c29846c840ecbc11403
MD5 ca4116a982d008ab704bc24e4bc2e572
BLAKE2b-256 ffd013cda83f3fb2d76163ebc1c8ca03c72eb0a8d1da1e8eb070c1aa5b74c972

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.37.post2-cp313-cp313-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.4.37.post2-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post2-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b9010042f0f7bd829928ed1f3365fcd34947fcfcf7689965d1c01c4f507e720a
MD5 20f5ec0aa3e38614a4296f8a2d276f22
BLAKE2b-256 58434e41fa7fd22517cc444ccd4b738f2760f299106f66da02bb9f1b451b909b

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.37.post2-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post2-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0fca4ae3c6a67370d7fbeea27f8cb9b07e4705cf776eddd9f966fd72e3d48fc9
MD5 622c26eff49acfc4ef8bfb2c487a9ec3
BLAKE2b-256 881830547f3109b976286cec9ee77234cdbb53fffe6ecaeb5a565769ab485e0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.37.post2-cp313-cp313-macosx_13_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.4.37.post2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 fa38f9867af0bbe9cc2be393876618fc2df129bbdfcd040c98768edad56ca273
MD5 e3e2bec64b0c2ad0ff0766a0e4688bf1
BLAKE2b-256 26b3338de92477d4d7985b6486664905f9933cc8e89cc020c09fde91fa7bb146

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.37.post2-cp312-cp312-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.4.37.post2-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post2-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 cce942f0a01a4aaec7c34de133f46f33d778cdf25b112e74a2fec22bfb393c93
MD5 55473d34a8ffc909b669889d6f038ef0
BLAKE2b-256 1b1286adf208894eaf1ead1359cf92e8c1c7b7ef08a3b487a6e9fb1665d88633

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.37.post2-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post2-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 62348c2eadf190b102f5a345bc0fc14a9fe3ef6c258fbc79c3520e7f1461f269
MD5 2ea40b73cf86b25f428b646de3aa8c29
BLAKE2b-256 333b2fcc9bfd4378b05d57be945b2dbd52a25e168bf8721e876242be74927cd4

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.37.post2-cp312-cp312-macosx_13_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.4.37.post2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 63ca1ed9e849e56b85d7c5753b58bf479857d140546b85924b7e3259947b5e9f
MD5 8537819f5c6edb67fee47eb4e9567b72
BLAKE2b-256 0ca80e7a9b8ed92b3473156c7b476f88e13d0b9bdf54ea9f0f59b2810d7fa1d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.37.post2-cp311-cp311-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.4.37.post2-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post2-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6c50e38653536e4236cd56d75ac6557aa2835df0ebdbcb56925a1e8409b9bcd4
MD5 565a419d008b08719489b86e0a3596ff
BLAKE2b-256 198a655dfbd9d280bb875372adabbf1984f441c651c2df87465453f151cf360a

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.37.post2-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.37.post2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8f9df1e8cb3959d045fdde6b97b325198767866c77d2dbe9fb617c9a3500c99b
MD5 fb954e7846db15b9d4b19ba3c2dff7cd
BLAKE2b-256 8332e6a6435f30fe33ebdff8e29c88cc32a59685c79f5bfd458b28da4984f569

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.37.post2-cp311-cp311-macosx_13_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page