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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_docproc_binary-0.12.14-cp311-cp311-win_amd64.whl (2.9 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.12.14-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.14-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.14-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.14-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 43bd13db525e917bde62776bf83518aa82e32f4f9dd5b8e0ac3ee8fa5f4f8c90
MD5 7e456fbd09f8c26fe224a69378916cef
BLAKE2b-256 7b9979b1940581e8ead5c03b9e457dce0a0b678758055de8863865ed0ee9b4db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.14-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 eb2cafcef567bdbe70695db5d47097379873faa5632f158f213ac762c920591a
MD5 9bc170d41e23becb567b78b63d1bf956
BLAKE2b-256 31800a3dec529d5b45bfc6b65a77e4980dd848b61d2da8cb7a5bde1c462f681d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.14-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 df3dd55bdccebaac23c1959436162574563744de6788d3b7c4137af2a2569eff
MD5 6b24d569ae746929e9dfeb2a7bc00f18
BLAKE2b-256 62f4641b14fe34704a528a6ada8eec6717024d968a5f0becb3a741fed7b54872

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cd91db26bbc8fe9b0ff752c818e0ae6341e7440771e46713a381f4eda3f4c819
MD5 548677c4c421d9690c5278112e414620
BLAKE2b-256 05236a2283d0f5a46c18e006311895c618f6b5a576508b3c1bf28ab67321c603

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.14-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1f5d8515a7feb4bde2ec0e0f72b94c3acdf99452b26476b7f0ff3bc5d794c750
MD5 fa68dd261f8172d49199cdc2a374490c
BLAKE2b-256 823a8940745ffb37f708eb65734d10422ff8d5dc82a02c0c1729efc4c2f31028

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.14-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d5577058b5c81e992f1a45b75f405f55cf77d0dbc615e20797d895cd5f69941f
MD5 feb2ea5d3e51df47cc4d212dc7fa059f
BLAKE2b-256 21dff357fb3a935b64cbc4257120ffaaccd58b8ed8c6a8e9cc44877568aefac4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d9437bb3413229a98dfd6037873351182a62ae192aac9abe81dca2e0041575a1
MD5 3da358f73aaa8c7cd4c19c668cec470c
BLAKE2b-256 2075d6b11c7853f64843141009dc138f27bdbc9580b0bfee4ac44c41d7fa8a9d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.14-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 84d4194a7c72986ec74ddcdb728e837ddf6ac9b7c39f2877551ddec4a31f93f5
MD5 bbd00894b32dd382a9cb16781865eb67
BLAKE2b-256 8de202aeb214f6374dbc34c932609867e7c3850ade1e7012c104603a160cf078

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.14-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 05c5ef4c01394cac92adc3b9189eb45d470f53aa484733eda25a8ffdd631f434
MD5 b7ea6fc84e0a63882d453e50579403d3
BLAKE2b-256 79d384867b57ade73db00c3ebc879e4d319ecb0115a5fd722e076395b9e42727

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_docproc_binary-0.12.14-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 Sentry Error logging StatusPage Status page