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

Uploaded CPython 3.12Windows x86-64

gllm_datastore_binary-0.5.62-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.62-cp312-cp312-macosx_13_0_arm64.whl (2.7 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_datastore_binary-0.5.62-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.62-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.62-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.62-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a5a2c2ce93ec94adc2120378c7169d91620db2a2c70f920370bd56a0200ec909
MD5 05d2160b7a479a07b62957a15ea40782
BLAKE2b-256 dd3626f98b6fb58844d88709249adf76bc13353e0def180b3c8e0b127fb28a78

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.62-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 03204119d6c9ad7a5bec6d9301c9ad56ac33fdfde4e3ac8360301bb1283604ab
MD5 91ba5bc16a5ab34e10f524daf296f0f9
BLAKE2b-256 2c094a1ff3a2dc4f6faa0e2e925127a3f763ac5cb5978033a4af82023cc069ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.62-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d4031079f8853b952ee2068e3cdaa1e8179558cca28af57568befb7abcf8923e
MD5 439925657c94133a8e87b02a8eddb236
BLAKE2b-256 a877788f6afaed2465d5415a267faaffe3e52de3940357b7b5e41098c25d07d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.62-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8e946a02adfbcfbd3204d8732369eb25a6b6889362b9f2f3137a3028c4f58396
MD5 9b1d0c23be518df02c9f6865b1941448
BLAKE2b-256 23953a4d027b7bd73c1c8093610a77350d2f10b68e061e999264f990efd243d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.62-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f68ee2e176ad0f1d777894d69d499fc05c87b1557f8cc74bc53b34e705c4a131
MD5 061e4fd7d02858aadca398a1f81c456f
BLAKE2b-256 1c8ebbee3f0744745ee42a8b241fbdb06f30b9da8ee2f5c696209be4015543aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.62-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 91b796c079d327bbd1c9bdbb27e638484885bb4873f1a4cdf8bde1ced506c9a2
MD5 7486baaa5feae7d1ce2c6fe2a00303a4
BLAKE2b-256 48478f5c6dd774eb71df698cfb511296915863abb46be29320ce57d2056f4838

See more details on using hashes here.

Provenance

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