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

Uploaded CPython 3.12Windows x86-64

gllm_datastore_binary-0.5.52-cp312-cp312-manylinux_2_31_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.52-cp312-cp312-macosx_13_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_datastore_binary-0.5.52-cp311-cp311-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_datastore_binary-0.5.52-cp311-cp311-manylinux_2_31_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.52-cp311-cp311-macosx_13_0_arm64.whl (2.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.52-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 70326d00089d974330c0c4a7c89a043cfce3c814b3a1432f954c1c56963c5775
MD5 642096fff7f8e329f253c1c541446cd9
BLAKE2b-256 9e7531798042efe2511f2242097511f80e4ee7fc2f2548c76410d26fdad1eb7d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.52-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9563b62c50349c90bf278627f575b93e51d6135fadd86f0f324eab8479345ec0
MD5 e5e71c6dc03d797932a942c5486ef4de
BLAKE2b-256 72b37dd5736645147df16d9363216e2812459ff2ed5734035cb8eef5140a798d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.52-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c0b0aefa5826edf7e3afb4fb245014afd3f2dc9c5bb32e5a2a860397b7c5f41d
MD5 525e71662b2d8e2f8e678c45589d10b9
BLAKE2b-256 9cdf5d254f9b28e7cb35e4a5ef6589e34864be175b2a3672387dbe215d4bdbcb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.52-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9464b8fbc3743b2e8926d68b34b67acc4e587ab6e0cb0ea9e81d3ee67ea6325d
MD5 9e3e113c26868937e903f3f73fdc1c12
BLAKE2b-256 d77da3ee9ef6ad52a1ebe9b6d945b425cebb05393ad8845bb6b8f542effcc591

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.52-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 728cc08aaeeb5cac42ff81464a05a8e7fccee28a3c3bcf5cf5c2688e505ef153
MD5 9fd6003b18b5aad399432a66b3e27cb0
BLAKE2b-256 0ab27f01a0aa6877fb4ba199a0906bb60def563ae1eb72626882337b0c048935

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.52-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 35b55a170d958c2f2415bf334b36dba4e8476655909d9f06a1718cbf0e76a073
MD5 1a9ff59f18d25142f7020458c296cd71
BLAKE2b-256 07e4c82ec1ba2a58860ffc5578b0bfa03b64b5b83a79f4c89f922de8fd61d62b

See more details on using hashes here.

Provenance

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