Skip to main content

A library containing core components for Gen AI applications.

Project description

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.

Project details


Release history Release notifications | RSS feed

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.19-cp313-cp313-win_amd64.whl (569.2 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.19-cp313-cp313-manylinux_2_31_x86_64.whl (829.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.19-cp313-cp313-macosx_13_0_arm64.whl (567.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.19-cp312-cp312-win_amd64.whl (571.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.19-cp312-cp312-manylinux_2_31_x86_64.whl (829.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.19-cp312-cp312-macosx_13_0_arm64.whl (564.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.19-cp311-cp311-win_amd64.whl (585.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.19-cp311-cp311-manylinux_2_31_x86_64.whl (756.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.19-cp311-cp311-macosx_13_0_arm64.whl (556.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_core_binary-0.4.19-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.19-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8054d131215ef508edbeb981c079ff5c4ab11b2169512ff61ada99006664c308
MD5 daa38a2309c130d43af1502045a4a96a
BLAKE2b-256 b2d77d8c4ffb0d31a3f2a63528c83cf71e485c755ea10caca2f1df06706c470e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.19-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.19-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.19-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 74cc11e1318f777ca618904082fe71fb76652e9861ed7b8401f97115055229e4
MD5 2c12afe2f80f684789debdb43e58079f
BLAKE2b-256 c3755544fcad5431cdae2e8cfaa4dc33d9b70abd624f7dcdce293078c81b4540

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.19-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.19-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4aac230dbea662876bee5ad1f5f227de079e690b1a6034bc6f6a1ce931581efe
MD5 7ef5d562ed08ce03f6b6620bd2c3c44c
BLAKE2b-256 15f81562e02ab3639530deb5532ef56234d1217aa8bf2f7a22c2f8f53d70e76c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.19-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.19-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.19-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8b0299eb2490a2c515e6770d44570f6b2d14de1a47c5ceb36c6f22d463f81eaa
MD5 91ba2cd7637539160772dc5aefd8f6fd
BLAKE2b-256 9c48c72cccaa58843cdca64d939aea438cbe73d38e6a7225b9a086db04505ed2

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.19-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.19-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.19-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 310086e4830490a4bbacfcdc44387fdcb9f7e53c281168fb986a6f5ef2955ce7
MD5 de79c53573289529d242b06052ddf43c
BLAKE2b-256 af829a602ad369f6d99af0cf4ed694ddfee063c4a35e33182d5b34c040c2a606

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.19-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.19-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 de155a3876f28237356726b31a1c8ef695fe1dab3de6776095b62042b8bcedf1
MD5 c908c45cf3119af20233e98c80b691c4
BLAKE2b-256 2a39713c044e096b54e448fbe6e4d46deca004e6213d736062269db490b0e403

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.19-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.19-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.19-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ff86dce97810bc2e630b323836b447f815488cf03f927d812edd2a2d3f7c9c48
MD5 dcb53ee6be7e13ce7adcfb777350d043
BLAKE2b-256 f8e820899f5b0f1b737eedec683fe18f10c847171a219251386d6f29d0b286ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.19-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.19-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.19-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e810923611c7d69dbc3b0f6d171a4f382d16c53d963b33bbe93b8e08b2078fbf
MD5 d9a0e8f0a6a14e93e326cd3e9b750928
BLAKE2b-256 fe037620cadebe39ec55a8ecc12262dc05ad5c6d8a5f20c937e0264e4f877fa9

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.19-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.19-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4dc7ba29657660745d66a81d20533dd25b3e1dc33dce4b498cc87dea361fba7a
MD5 f42ed7f622b2e2570f9387caa664149c
BLAKE2b-256 3e650fa747c1843c937ed96ec6de3fd47c5b80f73d30728fd84fdb7fc0c6f75d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.4.19-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.

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