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.59-cp312-cp312-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_datastore_binary-0.5.59-cp312-cp312-manylinux_2_31_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.59-cp312-cp312-macosx_13_0_arm64.whl (2.7 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_datastore_binary-0.5.59-cp311-cp311-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_datastore_binary-0.5.59-cp311-cp311-manylinux_2_31_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.59-cp311-cp311-macosx_13_0_arm64.whl (2.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.59-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 265ffa024396acab836c3099ca67c97695d1e006f364cc2e6c692572716a27d7
MD5 de3d07a377ef8f5d3c1fa61bff2a84f7
BLAKE2b-256 006f52a9139075bb306c3554de6031db3d5b373bc8a79b00e58ed551220f707a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.59-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 cffd81e923330dfb408ed253aa3a0edce1d72b43f072118af99fe2b398ca7414
MD5 9c9929667f8277d4b75d027b5afd43c7
BLAKE2b-256 6cccb2880f255e3ac4839a96893800a8d5a97867ffb3bf68d99f9a56028e14d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.59-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 dad5073768eb950488b8fda34aac74f8dabe5f4dfeec24567c3ae2ec7237074e
MD5 503df829d2e5d79a84ca2084427ec4ce
BLAKE2b-256 ffecf8e2b677eb5408935e0b0661613978de792254fe36d26c82af3cbdb525c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.59-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1dec000335b94e42bce0105109df1487bb6c297c1bac6ab531f57c0d7d0e9535
MD5 b63dbaaa2f5a2f6f13a1d1388a78ce19
BLAKE2b-256 1456a4bc21b0141653ee75cff81a37155a5672f618b2dc62ae826290defcc2a0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.59-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c3d8cc63ccddcd3164d9f31e1ea5c5810c77b58758f7a8059aae1a5af789e091
MD5 04c95049a42b40ef06698ad806c9b251
BLAKE2b-256 98764be18c5930e1f2ca7d3360ac064af9783180a1e1797e2c06428410bbe4b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.59-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 87551bf8cd4c74c773ee9ce45745bfd9dc88e5975dd2116065f1bf1ea2016e17
MD5 008c4f587d26b0822920527805679800
BLAKE2b-256 5b0074c5cf3c5d82f5f87421f99308dbee3756018bf16b1d0f5e2c846e64ed1a

See more details on using hashes here.

Provenance

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