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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.10.7-cp312-cp312-manylinux_2_31_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.10.7-cp312-cp312-macosx_13_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_docproc_binary-0.10.7-cp311-cp311-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.10.7-cp311-cp311-manylinux_2_31_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.10.7-cp311-cp311-macosx_13_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 55d77eb40180d311cbff3048c63415665aa873b1655468da348bc6be49c70fa9
MD5 29db6b4021cf8cbf4ece98a3982879e3
BLAKE2b-256 c6f383e7fc9a91b7e88cd075e5e96962f14720f01d684b990bc212fd24079862

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.7-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 568dbdeb693cdec6228e4fe86137eb44a425ee303c6fae74a795f400ff9e586e
MD5 fd7d8bc972bfb9e79e730c4d1e2735fe
BLAKE2b-256 9a10e048db0b3ff0b9f756b6f092b346114468f3ebeee3df36add492e1b1bf51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.7-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 252e578e426938924ce8dbcf3a1818043aad1908cf52dda32af2fb0b28a6dac0
MD5 0c903f4f125a331852ac7c7e400b9bec
BLAKE2b-256 a45dff30fe57fe8b0dd940683e5bcdae50cb443f8236074326f51da7365745f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 39862937613744d3f1821a7df01102f724da6f419c28afb17bb4f176f6277d43
MD5 3eca1912bf990d171eeb389322939972
BLAKE2b-256 db485eb09276724f32f0b16bee1fb5ccd11fe9cc0da7b6ceef82a1e806ecd910

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.7-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e0b0b190b399b1b0ad6a8d1568371a69f4bd037f99535edc7d791d2afec55c15
MD5 5b00777f2a41fb602bee870cba9fd8ab
BLAKE2b-256 651cd1737db6e1f09f81c4cd5bd769343273330cfb941e42bc3b13352f918f54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.7-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1317f169cf96ddd0335d97597fb31e4a6412f922911cd5be3b8758d22be033bf
MD5 12b73a16ba1c21742540ecd248d61187
BLAKE2b-256 db2815a453e47d34c3afbe216f37c565948243a99274e56296c0412b79dc9082

See more details on using hashes here.

Provenance

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