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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.11.19-cp312-cp312-manylinux_2_31_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.11.19-cp312-cp312-macosx_13_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.11.19-cp311-cp311-manylinux_2_31_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.11.19-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.19-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.19-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 25a879aa03f9d19ece34dbbff404c85d6feb947057fb01463384191b220fb892
MD5 3597958ef254ded5f124b640c043ef3d
BLAKE2b-256 a07bb5294b2c142f48c067316c20783f009e1e8a03fc953985b7b084a3fb24e4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.19-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c24f6fc3357e1a39163eddac146db838640e28fc6ef3793f1e688eaf63327efa
MD5 1889363f1b4d12ed7b43272a01477a65
BLAKE2b-256 d912822492848afb0ed0161e318dd490afe842e85c2855700d6cf509325f8d7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.19-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 339a98063ef67ad623f4bc6d6ae06e2335351ec043f12a32a25db5bc2d3d48aa
MD5 1e3c4b238cd9922deb3bac7a28d7ede1
BLAKE2b-256 584c74412942ee306f60972bb82b033fd6737e2ba5c75508d8edd95816d2598e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.19-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 dda505450d4220873f010e7a224594cdc8c1115e8deacf2890ee7aa207fd85e6
MD5 d466f55626520d82d49b01c52fad19a7
BLAKE2b-256 0a901ef090cf7600521aefe589ec110a3baba0aed82948da20d018c65d1dc319

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.19-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 331903ef7044adaee6a9b9c4265e0bf1d6f9dc55ca482dc0ab81dd1546d3a9c6
MD5 c4e47a559a7a62d7318a530fb8b90a12
BLAKE2b-256 1443a76c921cc67316245b71cc8b54695c465daa20a7fece3157133cc119c08a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.19-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3b7c66f00e1a48c8982c0c6460e69f1b8e2a40dec38bff0f81f414afbebc9e45
MD5 e45b472c0734519ec8d0bf5e510680ef
BLAKE2b-256 896ed7a0411327425f65a7e93260576bb4857acc26a3a709b0a72f6ad64ca385

See more details on using hashes here.

Provenance

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