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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.27-cp313-cp313-manylinux_2_31_x86_64.whl (955.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.27-cp313-cp313-macosx_13_0_arm64.whl (683.1 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.27-cp312-cp312-win_amd64.whl (599.1 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.27-cp312-cp312-manylinux_2_31_x86_64.whl (953.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.27-cp312-cp312-macosx_13_0_arm64.whl (680.3 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.27-cp311-cp311-win_amd64.whl (620.3 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.27-cp311-cp311-manylinux_2_31_x86_64.whl (872.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.27-cp311-cp311-macosx_13_0_arm64.whl (671.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.27-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 3deecdd880e6ab48f2e97b098c1164a6a0d0b513b89a1edf80bacd605a203b06
MD5 19466f1067a0e022d8ec82bd5ddca864
BLAKE2b-256 f5d1dbca06465f28a143d554502a82bd23f2a1f3268344d684fbc062f9e5da72

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.27-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c0cdcf937c2faa06e02f52997083799835179f936b68f875dab731ab5ea8aa7a
MD5 7a2da3c3e8779298c441fed31985806c
BLAKE2b-256 dda58b879ba77acda6c77ec389e4773854fc28041780b2c9b94b11d73b0a6eb6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.27-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b67d2991a5d960b713244cb381788c98bd6441740c366042a21cb1113a118647
MD5 9e929a86d87a2a7776afda19d05f13ad
BLAKE2b-256 6ecfbb74fbaca73564de0d71eada511b2512f9f62923e0b774b5ffd9544f45a2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.27-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c4d80977db8503ce9b165dce52270ea1e2fa63a7bf23fbd71b3f1484b9a26012
MD5 6eac05c4333158f3c80f5f91be9a29fc
BLAKE2b-256 6d34d54933681386aa6791087c75f56806665a0701e6a5977e54cfb5a506837a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.27-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f4e171ab1e173de42bdff3e5ab0b39ea2e3dd09900bd59f1771a5c7e5ba2caeb
MD5 1edcffe6d3071d2f0e46102d2903f49f
BLAKE2b-256 0bf30b85b33f3f55050df2765b41d7d6b1ebceb0126b21e42ede64b13b3c78de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.27-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fc8d34de2edd3d9325bc981f111483c47f902cbc37be15d3d6c94de20ba711d6
MD5 d95096aeb00e4860c0997bb91261bdab
BLAKE2b-256 f2f81b2665c2d4b43c171f47b98eec18999b6aabeecc67efa3889e942fb1fc7d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.27-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2f5302466e200b8c2443c901b8072a2ff8e13d5baa4310c7c71abd2e9388c029
MD5 070a0c4231585a781da483ddc808c828
BLAKE2b-256 7a041d7f52cb68c6b30d8823b68b7282b84ff0a7befe5f6a6ae3c583a323eba5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.27-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b8858c25dfde7567a920b763d81559e07de2c048ed3ce92f0e1acea091f5a17a
MD5 ea36880c2aa890dc1cc2ca4fd1014931
BLAKE2b-256 f1056e3b6c1b7fac8b7add072cc810e08146b14dd4d59eaafc999f8dead4bc05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.27-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 66ec482fdffee726fa286ce0ec71679ba5837395d70f00ccc84cc897fab2f5ec
MD5 10f18da0373802359b89ce1213faa7f8
BLAKE2b-256 14569c784d237fc85df73bdfe09202f685bd2493964765dadbb3d20baa45a5e6

See more details on using hashes here.

Provenance

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