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.4.post1-cp313-cp313-win_amd64.whl (526.9 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.4.post1-cp313-cp313-manylinux_2_31_x86_64.whl (770.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.4.post1-cp313-cp313-macosx_13_0_arm64.whl (519.7 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.4.post1-cp312-cp312-win_amd64.whl (529.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.4.post1-cp312-cp312-manylinux_2_31_x86_64.whl (771.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.4.post1-cp312-cp312-macosx_13_0_arm64.whl (518.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.4.post1-cp311-cp311-win_amd64.whl (541.0 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.4.post1-cp311-cp311-manylinux_2_31_x86_64.whl (703.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.4.post1-cp311-cp311-macosx_13_0_arm64.whl (515.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_core_binary-0.4.4.post1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4.post1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2c027694d95ca5f04fb5a5a20096f7641e3dcafeb3d2ba3bcbe9ca48c0d38f2d
MD5 7a72f80086c24d940624bef6228f6051
BLAKE2b-256 df6d166d505823668b6264178a9d41eae2239bd1890170504b273672ee6e06a1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4.post1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7e486186a5ecee55497f51f7bd415da25340fbeb77cbf9a85d8603da2fe5cdbc
MD5 6af5c13df021a947f036bab3f30164ea
BLAKE2b-256 17a2fdefebe9e5d2f06a1e73f6bea9da29ce15cf6d419dad3460332114b040cb

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.4.post1-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4.post1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d7e5d3d9a98d6069f11f02ae24e55d4123b8ace8c9a4ef0007b297f3b9f2ccc6
MD5 474d94c6cd3eee0dfc983f0089859d66
BLAKE2b-256 00fff79b86995c01fd3a5bcc4a9835e709a833372d33401286061fb2d8655986

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c203aeec87303314cc4a858ee9ea7358ff5bcaf363506e43e88620ad6c67ac6e
MD5 1db67e3f317f084d969142d22d426a79
BLAKE2b-256 15c2e94f010c830733dea3d986de0051e9bac2ec256f5816d0d08ee14f3dfb1c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4.post1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 81a8dddb9ab48668178117fdb0ec9500ff78f94ba09d1ddfb3cc095b7a057a55
MD5 9affa1d85bfb72f84fdcc6b1d52dc914
BLAKE2b-256 a0edca1305c01965168ab026317c12c272984e145eca093b63dda607049c5303

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.4.post1-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4.post1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 61553aeac41d32eeecb05d91d06bec0dca17133e214bc56217660330e88182e5
MD5 0db435b72db1f7ce5d483797f4b5b749
BLAKE2b-256 000566a71fcca243093ca88a5ef020e278e3bf7d47dade210e4f7c3d45f5508f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2ca6b0076767db4d80f697a93782ca1c49e54b8c9a75a0a48cd3ee6f90957266
MD5 7f058a2d75b349c3fedca6f6f4b46cc9
BLAKE2b-256 f960192075077caf18040dccd73a0214ba11149833bdf346782cd774507113dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4.post1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b7d53ac28af99399f740817b5acc926041b48f7b40a86ade92e711f463409fb6
MD5 06d4ddb285aa7e3091cae0bb784da568
BLAKE2b-256 57de0914cb0f6ce40e72dabb0633dd2e9d7b89d82c3e39a0fb4ca3ddeccec798

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.4.post1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4.post1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7461d23d40d85a034c29451c7502d9c181b3ccaec2dae185e541a9f13a84a9c7
MD5 7eefa752b2ffacff756ae08e4dc6e1e3
BLAKE2b-256 d28fa033f90afaae41016102531d9d2be9dd0a2ceeb6b99845f63940d986e57d

See more details on using hashes here.

Provenance

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