Skip to main content

GLLM Docproc

Description

A library for orchestrating the processing of document. Typically in a Gen AI applications (but not limited to just Gen AI).


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.

  1. Export token
export GCLOUD_ACCESS_TOKEN="$(gcloud auth print-access-token)"
  1. Configure the index in your pyproject.tom;
[[tool.uv.index]]
name = "gen-ai-internal"
url = "https://oauth2accesstoken:${GCLOUD_ACCESS_TOKEN}@glsdk.gdplabs.id/gen-ai-internal/simple/"
  1. Add the dependency
uv add gllm-docproc

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-docproc

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.

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_docproc_binary-0.12.17-cp313-cp313-manylinux_2_31_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.12.17-cp312-cp312-manylinux_2_31_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.12.17-cp311-cp311-manylinux_2_31_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

File details

Details for the file gllm_docproc_binary-0.12.17-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.17-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 74394040cb5f724f0914e0e10bc57eaff6d89a77fe29ef70f4a93c4b248bd817
MD5 6ae6542defcbcf6bc92660ddd13f454c
BLAKE2b-256 2d266978b9daa29500bd40a6b149969438540b360a1f64859093eb4135a84d02

See more details on using hashes here.

File details

Details for the file gllm_docproc_binary-0.12.17-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.17-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a6c43811efead8ce7b34d94d3f6e2f2e381bf1314535b9f7a6859eec73bc6147
MD5 e36a0db2006f358821dd7910640deb78
BLAKE2b-256 25ccb938c3d9b5941bff8172b742398a1ca2244e950a496e760834a34c943e08

See more details on using hashes here.

File details

Details for the file gllm_docproc_binary-0.12.17-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.17-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 db92645405e6300f14dbb521c5508317d7ec3899b3c5f1417e6bcb457a7cd252
MD5 2056ba4b2b29fc9852786ada0d117e6a
BLAKE2b-256 0c2a99164bad09d414718b877622b158f671dbf76e3be6d1007e9502d210951a

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page