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

Uploaded CPython 3.12Windows x86-64

gllm_datastore_binary-0.5.48-cp312-cp312-manylinux_2_31_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.48-cp312-cp312-macosx_13_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_datastore_binary-0.5.48-cp311-cp311-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_datastore_binary-0.5.48-cp311-cp311-manylinux_2_31_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.48-cp311-cp311-macosx_13_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.48-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e97481ab8bee9dc65e06c360a27add710f1d746341f4d72a20f9294f6a5e73ac
MD5 b926439c663bfba426caa6cb2395210c
BLAKE2b-256 0a601cf1680d6bb4161d9309f28d97063f0df301671f2a782551519953f30d0a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.48-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 120c0e9b680debcd990a45b3f1d33ec2569b545a7a1e4647cf03ef8a6a0df216
MD5 da2774ba4bb4452025f0c395481f7a00
BLAKE2b-256 acee33f96c84095ccee0560590dacc9e31e1a088b4c945edbfd8e7693e6806b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.48-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 df3c603767f20237f13390bedf7bef6d402ead5eeae58d96ac0f5bee5b39242f
MD5 fa5dd7f135ff1e22bdf8fcd0351a534d
BLAKE2b-256 2cb7493675e4bc4c630154bcc7e032e891a2def9cf27fc71638dda82e1bf0eab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.48-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a3c291d6f76f6d2828103f27bd2caefc25de4aaea68e656505b715291987cce0
MD5 2f2764d2a509b61e27e86d619984b37c
BLAKE2b-256 aa9ca4a97c135511f51f245eb5601aa78825688066321300cc4ff3384300fa18

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.48-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ea972ed54aa3bd529fdb51e2f3c196a551fbafaf9057a6a5cd65fd7ddd95cb0c
MD5 c90459731b2af4cca72fdf0a3475114d
BLAKE2b-256 733524a305479944fa52557c39d732ad497b58818ea3e2c9e6eaa394bf875816

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.48-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 de8e7998cbfddeb7b73d568b80ada93a2152f19aeb6444bfaf0886ae52e8cbcc
MD5 c439415355a420a41af5660f7b930aa1
BLAKE2b-256 40c7fd83b523234e2575e2b21844748b370348e0ccf6fd56ab90e40344ef1ccc

See more details on using hashes here.

Provenance

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