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.11-cp313-cp313-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.13Windows x86-64

gllm_docproc_binary-0.12.11-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.11-cp313-cp313-macosx_13_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_docproc_binary-0.12.11-cp312-cp312-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.12.11-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.11-cp312-cp312-macosx_13_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_docproc_binary-0.12.11-cp311-cp311-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.12.11-cp311-cp311-manylinux_2_31_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.12.11-cp311-cp311-macosx_13_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_docproc_binary-0.12.11-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2272857cb0f52c5edf7ec806150cee503d8dbaf0325206deb70c842521a02b21
MD5 ea96aebaccf92f35cf6867587b3b3116
BLAKE2b-256 0c15508359d6abc4d09147041e49d5800eb29dd715d365e28ed6b2cba22ae68c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_docproc_binary-0.12.11-cp313-cp313-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_docproc_binary-0.12.11-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.11-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2f659e94701245da5dee9f825d13f33e709d0cf51976e2c31f6fd644a067e0f8
MD5 3c0cd4ceb0fa859f054694d17e78ee73
BLAKE2b-256 3caaaf9bd944d14f5ce1d0ee51aca899d535587c6fc7f580aa00045c6d463bd3

See more details on using hashes here.

File details

Details for the file gllm_docproc_binary-0.12.11-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.11-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 93ce23bb5b9159ae8ba513253afe2a0d3611ba771ac4d141e75c2ffa5ed02dcd
MD5 8ffd497346e163c82092b4e68ea98a81
BLAKE2b-256 9e1e65c773e78a68c99090902aad215ededdb8f6f32939a169056864a84f6f84

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_docproc_binary-0.12.11-cp313-cp313-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_docproc_binary-0.12.11-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.11-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1c5753743d9f5fcf84d03c989acaf80fa53392f69143c476a3c670a1ced24c3e
MD5 c7012f7126d2b047548fae4a8e74252b
BLAKE2b-256 1c56e6eb580e17b3aa56d0e21dcae91e407fe9d99593ccac00eedc0ff5d44f60

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_docproc_binary-0.12.11-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_docproc_binary-0.12.11-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.11-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 38ad136c84df05887f5fbfdc98184792c68ed8d9835c561786cd825597a6e0ed
MD5 2211221e8858519fccbf2dacdae8a7bc
BLAKE2b-256 7a717095af5ac8bf0e084255b692e609320b259b85a6de494663905af0dbc9f7

See more details on using hashes here.

File details

Details for the file gllm_docproc_binary-0.12.11-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.11-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e072ce4a6ecf32c21d9db0d615fcda7d701f86963b76b19710be30e1185310ed
MD5 6ce5757f12b2c06944d73cd9af38fb51
BLAKE2b-256 9568ffa460106f0fe0421b6d63231313f3574273c581593f719a92e15bc93aba

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_docproc_binary-0.12.11-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_docproc_binary-0.12.11-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.11-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 fa14ac1b0464244c3667764ef6b0ee0c97e856164c3040151c30ad302715411c
MD5 eca2a3afefa47b4059454d4a48b6f5af
BLAKE2b-256 c9fbc0eb344bc271dc6856635f67b250b30b28665aceeba42b0b5d0582ced235

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_docproc_binary-0.12.11-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_docproc_binary-0.12.11-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.11-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4eb206ddf996e74863f91142fac48889909469d1466acdc7e429b26d76c334f3
MD5 9f76d8db5f5e3ffe73aa4c8a200f64e1
BLAKE2b-256 1334119cc0e32faf2c43daadfd4aa2c77da0acd277514b4be8009897b6b9a641

See more details on using hashes here.

File details

Details for the file gllm_docproc_binary-0.12.11-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.11-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 11d49dd2fadb59bd32e1e8d482c963cd70f704fd3dbaf6b8cba8ad563b1f32e1
MD5 5b7d3a647d9429d21356a374958eb260
BLAKE2b-256 79319047b50c26d7684a9a709a0628f6b376ebe7192fb13044795125e5686612

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_docproc_binary-0.12.11-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.

Release history Release notifications | RSS feed

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