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

Uploaded CPython 3.12Windows x86-64

gllm_datastore_binary-0.5.58-cp312-cp312-manylinux_2_31_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.58-cp312-cp312-macosx_13_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_datastore_binary-0.5.58-cp311-cp311-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_datastore_binary-0.5.58-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.58-cp311-cp311-macosx_13_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.58-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 eb7b135128dde260767659b5c5adf5eaccc5e0b6d5301bbd354f4d61ee07d4b3
MD5 2f67b597305ff683080990179bf2dacc
BLAKE2b-256 b7a4ae9548fbc9ec98060d00614972e2e00454fcc22ebb5f3efd9b1fc29fc1ba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.58-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b9f2c90a0b94252d69732ffe80c28e9272c51b0b2ff37eec94df102dd57851da
MD5 e791a02d45fe8005783c32ef295b8184
BLAKE2b-256 76c8195e9cb0daf7e488fec205e4b8e58d24fd5bcd11b685daa586dd4915b408

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.58-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 011970372fabf4334f7006cf6982d71865adc472805fa748c65aeeafa28b35d4
MD5 9d9c1ec7cc0c98b1176db3395e912587
BLAKE2b-256 9fea1db26ff03bf18ae528cd864d38a2489a9a119fbef45ab60199b1ceb8cb21

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.58-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 271d888d173e192f6b7f6d1ba555ec5d6125c72558ae0b7311d364df9e170afc
MD5 404b1d4fa803b294aff7d19b9c5df19d
BLAKE2b-256 41879f7215b945ff5fcf88d55208495ff72929e5f1314da72032d04c22f11d7f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.58-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5fe2dc4777cfb408413d692a9f61c141911d528ed6781a8299ddb6720a4ad9c1
MD5 f8baeeb6d9bf002fc3c0e553f3294723
BLAKE2b-256 f36be32eddd704ac18362640802c409583451ae8f59da66cfe76481526103c67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.58-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 282f12bf2c061df973d09202dffef213c785190d4cde09ca68f2abd496cdda52
MD5 7a28090c3ffddb6e6516d0773e1b8055
BLAKE2b-256 9054fcdfa0796e47c656a4e2ea32f7ce5657f46aad2d635fe7fd876d3856d601

See more details on using hashes here.

Provenance

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