Skip to main content

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

Project description

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.

Project details


Release history Release notifications | RSS feed

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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.11.34-cp312-cp312-manylinux_2_31_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.11.34-cp312-cp312-macosx_13_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_docproc_binary-0.11.34-cp311-cp311-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.11.34-cp311-cp311-manylinux_2_31_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.11.34-cp311-cp311-macosx_13_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_docproc_binary-0.11.34-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.34-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5e7d4ba3434a06d9cb103d0324b4189819c2b02ade5c8bda730e4b375017e607
MD5 c72084cca456b7cdba105fd790e7f019
BLAKE2b-256 1b3e05fd9e2c533c2a2172cffefac5ad50b23b5ad1c9eb9b9f67aecf29af3eba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.34-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 40f51e4502c51164ee8c4534b397735317f574e03eb44a3500f1aa0abb2c65a7
MD5 b91a47c68f0fc565c1c0a60583da7d00
BLAKE2b-256 0647821b1ff36fc29214f7822158322ce145487fabda6b5977184f9688e8d9c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.34-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c1055195566ec6a020a381cfd7b3ad67279ee76d35800b23e82e5f57e9e8db82
MD5 fc23bb33ff3c7f4184b9921168ed6fc5
BLAKE2b-256 49e751edb9373dae5c807673fad74252371069fd9da8e77e95bdf1c3d58846d0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.34-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 17b188def6357d4d25f3a49dd03dbbe2e523dafa41a3b07239982d147c676a59
MD5 66067e08c4d46b616098fb4b07eea2e2
BLAKE2b-256 92b23afef3431495c878f38cc1ef0a7b259d5b621deebb45a0e275423aa551ac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.34-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e3c4f9f5192bf5fed19906edc57b9b1902c6528b15f257553f433a9836790ec8
MD5 cb8b66d0ba96bf84417b04dd91826e47
BLAKE2b-256 89e6a24078648c25070611c62bf7f402e4868f485d236aec7f0be14520cc012e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.34-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5fec1ee33c65c7e0c70bfe4b8a28739cfd14683e004b0356f7edd94a6e27a02e
MD5 fb046da2896f8bce64ea2d0830267a7b
BLAKE2b-256 bb69062ee384f68a4c6096be0fb9d1463b34fbf75ef720d4390f3d1d8e9b7ca2

See more details on using hashes here.

Provenance

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