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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.18-cp313-cp313-manylinux_2_31_x86_64.whl (829.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.18-cp313-cp313-macosx_13_0_arm64.whl (567.1 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.18-cp312-cp312-win_amd64.whl (571.2 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.18-cp312-cp312-manylinux_2_31_x86_64.whl (829.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.18-cp312-cp312-macosx_13_0_arm64.whl (563.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.18-cp311-cp311-win_amd64.whl (585.4 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.18-cp311-cp311-manylinux_2_31_x86_64.whl (756.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.18-cp311-cp311-macosx_13_0_arm64.whl (556.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.18-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f9d9e322beb9a1c040ccf68e0ed38e61a1f2953c8edf2dee0694f143767d42c7
MD5 7b1e31ae7d43715b497ea614d9046d47
BLAKE2b-256 93094f68ed7ce17a3ce61a8b31907a315ad7ba849ee18f20c54d0e9a8ce544b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.18-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e8e873195adab41545ce069cef49df0671456b1984725dbd7ec2da9b17bb0019
MD5 bba0f8cb7a04e41869d999de364bc5f5
BLAKE2b-256 3d950377aae882d63a8e4129759925f9e6441a8f99788bfe10966184accc2874

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.18-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cd54edbadd830a5bdfd3f0d33d12ed8463f1604b078f09e0528570a7ac3e4e9f
MD5 dff768728134c2c5880b4c69b22d4c3a
BLAKE2b-256 66943467c5daf2296a3323d09b752c700ba9f03ece69837c425ebc012a318816

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.18-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b1a96ef5e3fb3116ae8da51aab9e11e8fbbeaaf7b8801fb586042353e40b3511
MD5 5c3d83ce8d2763eb68a749d20fe980f8
BLAKE2b-256 d30952aab9585b481507d0c02373efed32a896042a0b1904910277c587e75cb1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.18-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b7a5f9b65b0a62607a1d6860b7797469fa6cd88a7969c84a0cff9258e39a3f79
MD5 3586a6683fd24f88e89ea5f84e3ea587
BLAKE2b-256 f1d3adc158c9f2e8ef830da47a5e27544a79feaa0e9bf65624abe6bfaa6e29fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.18-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 637deb18cf3c1371ec1f01b89840a57d1c58df9bb901db7c7a515b8854120b78
MD5 f34b7f249d7112077f67391ffcd1a961
BLAKE2b-256 07a0b5fb5b855b519e71a9c1a09864c8bfd8f7ef8f9f8e1bc7d6b7b559735c33

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.18-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 288ec6b4a4dad200e2bcbabf739141a9289000ef809860acd59fb6dcc0b51b2d
MD5 87672d82a0130690e8d7761bf649974a
BLAKE2b-256 14c073e4d819680d42d4769bdba8d154b5e8995e080f71a3a094438ae44e8fd2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.18-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 cd29e3e974ecd813529599d11cfbe54d90ac046789034e385e41da0eb8d33701
MD5 0dbebccf9737ecb64a1f0f44d30dcf5c
BLAKE2b-256 3f5af8b0cb5cca0cfd4f3cadd1638d4cb07872ad0aee0b061137d3acdba75819

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.18-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ada713083e17d575a35bc9e30a23a13387570cddf7fa8e4063f778863843ba36
MD5 0ac66bad1e19f6d80804e7ce954bca3a
BLAKE2b-256 4557c31d2f56d30c5bd6e59d368b9ee2124bd3b036415a14d14c0a44e628f0ca

See more details on using hashes here.

Provenance

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