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

This version

0.4.9

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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.9-cp313-cp313-manylinux_2_31_x86_64.whl (774.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.9-cp313-cp313-macosx_13_0_arm64.whl (521.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.9-cp312-cp312-win_amd64.whl (531.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.9-cp312-cp312-manylinux_2_31_x86_64.whl (775.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.9-cp312-cp312-macosx_13_0_arm64.whl (520.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.9-cp311-cp311-win_amd64.whl (542.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.9-cp311-cp311-manylinux_2_31_x86_64.whl (707.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.9-cp311-cp311-macosx_13_0_arm64.whl (517.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0139759ec49e8872a5a62d685096df93dc31f90acb0e7446fdb7f56910ef5f3e
MD5 0ce760c1d7c27857870f5ac115c78d07
BLAKE2b-256 5f6fd14a4711b6ebbdd19b7d9686d0f52043361a7ee145a767bca06864fdd8d5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.9-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b951718c15189dfbaea74160247b6da0016aef67c9454cbb679a4b9cd4a378dd
MD5 e1e998883ed374952cc2df1c8058af6a
BLAKE2b-256 594f5a6c6fa0e02bd177b61d7e08d587f55ec3ee193557346f829ca85636b777

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.9-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f5fa6d2f4097184bc7ad1aa3116539bc1eca56cb25df2a1aea5a612816c60007
MD5 33d71ddde059b06eed5b0b6282fbdd0e
BLAKE2b-256 7b45f57ffc48abfeeed812925cc7543f92fcf5eb0946e5859c8fc20495b7df6f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 68343e9b042d08d8e26eb50b0a6617a6843525bebf913c1eafdd29420f9f02a8
MD5 3062793d7f9174c38a4e65106fdbf9a5
BLAKE2b-256 d978c574fa5e8514300fed23a2b57546f4a9f063560f3af8d09b1b8d6035c221

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.9-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 86987a67261fc181374f0cddeb0a9c658753e70cf49b70c8f44396aa21b44344
MD5 918f8f22f1225f72e53f2d0f0d1a667d
BLAKE2b-256 1a375a14b57d19f0aa3c9798b8437686aea9c2ef33cd309f1f2ca6d9d3e9818a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.9-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 53111e9749410ff335fdf6b68a78436762e001ba996eded5ccebd25f8d746cb5
MD5 ef63b2f6120da16e20db5f2613ffaa0d
BLAKE2b-256 cabd6406e86d350942152e388477aff6c1755d743b7566a22acb53df729e46e7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1fb8560c6d43bf5e6fd808272eb14684a8b0b8f622e9d4ca623c009598957956
MD5 73d538d5c733f7d6b9507196c4e53804
BLAKE2b-256 1b2ec91102ad891b848951154c92565b56a7407a9d42e01a34ac3d89b6bb9c4e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.9-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a90c1a52552a474fb0304bd6749fafadf4715a3a0932022118ff8cefc40b953b
MD5 e0eda186bfaac11eea7ffa90dd77bc31
BLAKE2b-256 b6a8da1d980ddc90730d5b9ce1a2bc2f7e5cd8496aea54037697557788631881

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.9-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0024137052ed279e032ba3f11df37210d5d08d3ab455360f3e9e78a9379053d4
MD5 0fa6817c96a9cba2f7a5a45e3c70124c
BLAKE2b-256 db7e467650181eb5a48e1536b4518c73278d9fc9c90f8e26fcf5a6a3725da786

See more details on using hashes here.

Provenance

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