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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.12.12-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.12-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.12-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.12-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 854d99ab73639bd6764ca223b5cfa98bbd6376ecd70e55c34b33da89025a2e28
MD5 527ece76030f2877d5b3bc603fa91c3c
BLAKE2b-256 def5524f94b8c3cb77b8722bc4c84da98d5df38cbbe1f5237b829d849a867a92

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.12-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 bed8f46f6081a4668ec241389b09fc748fd8b001a1ae512b972693e6e5d8f53c
MD5 57cc8bcbcf7e87d30548a19b306242bc
BLAKE2b-256 3f9671d7ee599ae5385c793b21e8c95e8a54c50b2d5de278381aca0eebc0ddea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.12-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 268e5f30b7174036a0f5ea1b797846a4fc9ec033ebf3714a4afbf40ff82440f1
MD5 ed8f317195cb3fc7b0081482fdc4c341
BLAKE2b-256 c8ac6072b41c2ae9b8c56e434a6549b96cbc645794a311a41f0941d62e4764c8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.12-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4c37c8ae2da6ba332943900ae2a97bb2df772cc76977c0df4be8a6621b3b7bbf
MD5 35d476c8854cd03c31c21c3f75181915
BLAKE2b-256 71a3c39d9c104b8a273c3e3c1c3544c881d6c2b22ac15d94e946261bfcd4cb3f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.12-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1326c3d7e103d2d717b37490c6cb327577e434080cbe15135ead56f1d2662ac2
MD5 835d703d41b0f959a9cdcedc84214ea9
BLAKE2b-256 769c7a15ef6c5d105c57fe9497a8d816194f73475914aba6bb8a61725f7a2a5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.12-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c030f8ffd1c855c004e3fa5f8479d7f6e0c8f43039fd51ee493dd79f935ed111
MD5 8be50c3e2478f4b14b48de6692483b31
BLAKE2b-256 4a33c54b1a4026f39c0779682f1f042c07d0876349fa129e64e615be30fab038

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.12-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2cd634376a414684b5a8c2d2ad8b8c26cafba9071441f50667cad5056d621535
MD5 40b1a2b2821a801fd28081eb9a60482e
BLAKE2b-256 e7df4cb1dd8b2571ad16113c9aad4274256d25e3ffb0095137fde407a419b4fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.12-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6194393c9f6ff28d56a1b5f696215ff306607d8ee45f59082a906874a0ff560b
MD5 fdd28b17180028aeeccc73a212294c3d
BLAKE2b-256 a5aa3b95aec96aad7cb626aa92d212b540e8c732c6425f89a7a7ddf2e6d2f6b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.12-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bae63720c62e63591dec072ca8f831985ef6b0555313efb87a9bedbaf6be666d
MD5 ecc336f217ce57e06b928727031e9ff0
BLAKE2b-256 1d990d4c85233ef076e257d746785b465024145d3c85b022aacf082483deb72f

See more details on using hashes here.

Provenance

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