Skip to main content

A library containing data store components for Gen AI applications.

Project description

GLLM Datastore

Description

A library for managing data storage and retrieval operations in 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-datastore

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

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_datastore_binary-0.5.74-cp312-cp312-win_amd64.whl (2.6 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_datastore_binary-0.5.74-cp312-cp312-manylinux_2_31_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.74-cp312-cp312-macosx_13_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_datastore_binary-0.5.74-cp311-cp311-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_datastore_binary-0.5.74-cp311-cp311-manylinux_2_31_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.74-cp311-cp311-macosx_13_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_datastore_binary-0.5.74-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.74-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8e0a6b0053a8704ac5b89ac2c830484b930a0aeeed0dd40e63b96facc807a9ed
MD5 f7c831efd3ee88d3647b9f005a62b63f
BLAKE2b-256 fefe4228f50300b9d9ca46ab9edb5490ce4b14d0f67df61e0240aa0e8a6fc0ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_datastore_binary-0.5.74-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_datastore_binary-0.5.74-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.74-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1ea09aeb2c9772f49ba933c201c00edad0b4e7078a6334545eab131de88ba3cd
MD5 e5f275f6d853a28af9ae30ef093d89b7
BLAKE2b-256 ffc572369c89d657f4cedb1d32c6a81a208d42d4515748ef9df031429eb92fa3

See more details on using hashes here.

File details

Details for the file gllm_datastore_binary-0.5.74-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.74-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bab0f5f16ad3c6acc79e59ed4c995c1d60edeb9aa4d226d4195778d5e76a7215
MD5 e1045fc3f145c07509c786c0f61711ed
BLAKE2b-256 733128e4d672bdfeafe9a1d69d1e3e32f83f64e37633500cc73aaf7aa17d48f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_datastore_binary-0.5.74-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_datastore_binary-0.5.74-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.74-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 877689672f597a73b4b93c8a718c46c0a8bb9f551c6a3fe69dfe7a2e822858da
MD5 20fd2a1c421ec13f523e2769f9fdbef0
BLAKE2b-256 6fbcfb4f9248a1f5835730e75e6eccd7d59885ce55a149cdc6bdecffd3496846

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_datastore_binary-0.5.74-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_datastore_binary-0.5.74-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.74-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6920df1169319fa2cb2a3c5300dc87a507f4b9a868233c67adc4f7c34009ab6d
MD5 27df3e3f9d70e55364a6d31180dc60f6
BLAKE2b-256 013edb41a7cdee4b1d136da7b1618a89d7dc7dfabc4abe0b6c883a696e7c3d97

See more details on using hashes here.

File details

Details for the file gllm_datastore_binary-0.5.74-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.74-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d943be649b88c1022d5778736501c96e0cbd0319e2838deb53018d16f2e254a7
MD5 4ce50c2eaffc93695c55a3f1fb88d50c
BLAKE2b-256 eb11ebfa208d0aa748767bcf86b21b2518ede120523dda3bad601e54649bd561

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_datastore_binary-0.5.74-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