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

Uploaded CPython 3.12Windows x86-64

gllm_datastore_binary-0.5.78-cp312-cp312-manylinux_2_31_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.78-cp312-cp312-macosx_13_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_datastore_binary-0.5.78-cp311-cp311-win_amd64.whl (3.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_datastore_binary-0.5.78-cp311-cp311-manylinux_2_31_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.78-cp311-cp311-macosx_13_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.78-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 21eb457efb74205cb25b6065cea4334846028503cd541063feef1cc45135796e
MD5 6993a11f75823fa051f8cfb4447d75af
BLAKE2b-256 d8626ce9cf09557649c316ec5c502b9a1fa5e176c53eabafdca6b2de81c4d2b0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.78-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2995bab38ad3dd836711dbb84d7c6b3a420a0057943f2ec526c7b0d6af0e9a64
MD5 fb75366a970673b2bdee8a9e0e3872e1
BLAKE2b-256 1cdf552912aafde8d74bc1e93793a1c419dfe74d17c6ada36fe5d049a0b1be20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.78-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5f094ee9a045974af36590ff89b1af2b0e93e4d3d0b1f30ee7ac96111051fe69
MD5 0ce9f7094ef7fd45cf63edcfe34fb512
BLAKE2b-256 72f6fb5fcd053184e7012fe76df3566190715eb4b6d19661e4ea37ae81a9793d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.78-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5df2c57813779ff4cd1f805f013daa545c727babc87a9240b36db1ad478698a0
MD5 46c3da716fbd17054990aeb98dce4b6e
BLAKE2b-256 f58bf450687561387793ad1e8b82d6f32fc189a2d0bb97d4bbe340963ae8de2d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.78-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9316567f15a1cb8b2f9fefd9c54b3cae3c43bd1be7772efd55d09bb5bb5a2cd4
MD5 7908b39b27436a005dce0563b32c2d7a
BLAKE2b-256 c835f5529d7c00dad70d9ae15655c4b0aea0e0b7e0da83ef6fcf25534a907927

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.78-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ae4e209505822a50d63bca607e39d7078b748f9357345b5c4180dbf0f9dfe100
MD5 55e6fee1d580aba2206af64dbffae4d4
BLAKE2b-256 e3bb5a29d5370ec05e68ebb82a5a12a904e37e9a5a6b2f5a7383b9d74f459da6

See more details on using hashes here.

Provenance

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