Skip to main content

A library containing miscellaneous components for Gen AI applications.

Project description

GLLM Misc

Description

A library containing miscellaneous utilities and helper functions for Generative AI applications.


Installation

Prerequisites

Mandatory:

  1. Python 3.11+ — Install here
  2. pip — Install here
  3. uv — Install here
  4. gcloud CLI (for authentication) — Install here, then log in using:
    gcloud auth login
    

Install from Artifact Registry

This 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-misc

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-misc

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


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_misc_binary-0.9.5-cp312-cp312-win_amd64.whl (329.4 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_misc_binary-0.9.5-cp312-cp312-manylinux_2_31_x86_64.whl (486.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_misc_binary-0.9.5-cp312-cp312-macosx_13_0_arm64.whl (280.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_misc_binary-0.9.5-cp311-cp311-win_amd64.whl (332.7 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_misc_binary-0.9.5-cp311-cp311-manylinux_2_31_x86_64.whl (445.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_misc_binary-0.9.5-cp311-cp311-macosx_13_0_arm64.whl (277.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_misc_binary-0.9.5-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_misc_binary-0.9.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3c646fc0b875a48fc261a934527af1ae814aac2a12a6e713ac406db3b51cf2a2
MD5 fd276c9f965e27598d33583a0652de9f
BLAKE2b-256 279b03c2ba661f755c724070c2ed0661256d1947775d69d16a9efd5fe5725322

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_misc_binary-0.9.5-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_misc_binary-0.9.5-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_misc_binary-0.9.5-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6bc88626e14b3bf7b19a3bf8569e2192eb7afcef187c53b3814fc354d4b0f04d
MD5 1c40dc388dc4aabfd68279bf8e478793
BLAKE2b-256 50167c1317bea4d98f53db1c73cb7bef7a7cd80f1e9e0b043aadeccdc1ac9081

See more details on using hashes here.

File details

Details for the file gllm_misc_binary-0.9.5-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_misc_binary-0.9.5-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6e1bb7a12d5de3b1e9a2cbf80eab427c97d9b7e0c47de51715329cb9b6cc5111
MD5 17ed1d89b4e0c78600918df89e7f4ff0
BLAKE2b-256 04a373ce301aad5a25c14d33848c20b2c00f27fc252475fb5f2635dc220abba7

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_misc_binary-0.9.5-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_misc_binary-0.9.5-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_misc_binary-0.9.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9420ddc2fc6be42ffbaabd0b0b941b323d167cfec6e04bfc501493a08516ab6d
MD5 3c1d66d64a2ee64eadf5e0e7282bc1bd
BLAKE2b-256 4685dae1373233e579e51ff5ea5628bde8f64e1d36e187ba91e958af1699eada

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_misc_binary-0.9.5-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_misc_binary-0.9.5-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_misc_binary-0.9.5-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a1f73ae72fc3eeed182e1336c2ba250a0f08b50ca764dae8c59c0144ec2d53f8
MD5 95483726456b27768411f0331f046cbf
BLAKE2b-256 5c74a483757ebf542abbf48f22c5516945a6b73e3b45d92fc890ffb6e701e3bb

See more details on using hashes here.

File details

Details for the file gllm_misc_binary-0.9.5-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_misc_binary-0.9.5-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0b55c4ebc256cec2bc9bc6daae8e0aa597fad1c133ad59fbdbdb0751a50db380
MD5 63e6adb6d0eac847a6ed8caba07bb5c8
BLAKE2b-256 a9327acdd6692213ed623d0a361504ac4a59d12e93f3748290d65615dccc8017

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_misc_binary-0.9.5-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