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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.12.3-cp312-cp312-manylinux_2_31_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.12.3-cp312-cp312-macosx_13_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_docproc_binary-0.12.3-cp311-cp311-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.12.3-cp311-cp311-manylinux_2_31_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.12.3-cp311-cp311-macosx_13_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 98c835e840714b47c625c6c668f962d8b719d511baeaeed131cf344bd0992a17
MD5 28f907ab82f84c9b838930a3ff692435
BLAKE2b-256 cedfc02ef914daa28bb9ec2f30f1faa1a1edb7be1c9d9ffebb6954847b838dac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.3-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3052be46c443b245d3d957805c77d7b81ec92a3f175abf937a0456704425f22a
MD5 5a9b160aef2a02cc5460fad8a54355fa
BLAKE2b-256 a128084de9316918e0b503780c4decfc01e676d129d7a9148d306500cbd49357

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.3-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f53ce0e8b7afba0df533b74b3be7f6e05c76ff983072c2801706b9581995b84d
MD5 05c301e90b453cb6459d095881f7b31f
BLAKE2b-256 5851abc9804b30dc05deb8c4e5033f740e341bb6734cc47c94d31f1120b5d9cf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ab60fc3aeeb45499cd7bb7a059c110bcf5306dcf83620327f0ff4c0be5134fe6
MD5 d9234d79a428a7abcaba4976637e927b
BLAKE2b-256 de14442ef7ad2442c7837c9625710e8bb407ce60d4dfb73b1827641cf212dea4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.3-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 47771c6afc26b15dc3c530ac3a321aa7f065a464277def74ab7524f4bf84387c
MD5 e817851d638b1907aad18c097f429230
BLAKE2b-256 1c1eedd24bfdc2f3985958ed7f5837a2b350d42f393803b2440269f40f82b009

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 57a0fc1cb829094bed3a9fd5c076f0481fe8bb8c1524cabfc3bb85a21dc437b3
MD5 2e7f90784888d6c494c7a1938f870607
BLAKE2b-256 bb78a458970d49e307b91db4b52cbcbe52028e2d48756e32422d61ede2bac76c

See more details on using hashes here.

Provenance

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