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


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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.11.14-cp312-cp312-manylinux_2_31_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.11.14-cp312-cp312-macosx_13_0_arm64.whl (2.7 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.11.14-cp311-cp311-manylinux_2_31_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.11.14-cp311-cp311-macosx_13_0_arm64.whl (2.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 aa3495d9da432c3e1c93ee6df7494474b041f7a622523702c64d737ee49f1f9d
MD5 33d868b87ed63252b0e84079537b4c98
BLAKE2b-256 80c597e724e452079d0974a1bd0a3837b7c95fc76added8058dde4dfc10aae84

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.14-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2599f8f1c34f3e309712821175afdab0c07820931f19ea1209593946ea01e2fc
MD5 0d5b1983df52061f003267adab63e2c0
BLAKE2b-256 95dca456ad3e9797b493b362bbb9e54db9441588060b91f4c93de7ae062bf952

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.14-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 df5dc4993c9d98ef7f49ef8d46256fa761349895f251f2c6e4e5bf9b730a6315
MD5 0b9657d0237ffb61869ea1349e83f6c6
BLAKE2b-256 7a8afa70096c1dbba94aad4869392414e6d90d441242a1f029717ea2e5f543f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6687233de9e8cdc600247f31e2fb06c136c8053dcdf365099b410a87072da76a
MD5 584fa62dfff5e71c1178c13125fea528
BLAKE2b-256 0c369a4b57ef849622ca149dec894d7b44d0c1e5fda3c1d5bf2261ebd547d441

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.14-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 306e69f19d78a723d735d1870cf21ec37687daf24932a3dbd20a17df310165aa
MD5 370d8b17d28cd18d5b780e2ea0d96cea
BLAKE2b-256 2bab785eee8fda7c7e4118a07af4f90737b7dd72f2a337c45b7352c0fed26203

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.14-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0ef32c3f1a51a0232dbb58dc97d3dc1bb095a91a6d61ae237c6e0102298b1cea
MD5 4f998392d11c43c7b7739ea9e6ebf6ef
BLAKE2b-256 0be33e2fdf018e973d3e9148d5238045d5387fc8946f68d280e64938baf395d3

See more details on using hashes here.

Provenance

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

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