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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.8.14-cp312-cp312-manylinux_2_31_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.8.14-cp312-cp312-macosx_13_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_docproc_binary-0.8.14-cp311-cp311-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.8.14-cp311-cp311-manylinux_2_31_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.8.14-cp311-cp311-macosx_13_0_arm64.whl (2.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 310f0e4ec0afc4bbcd61880db774d06ca63b99e40a8e762dad7bdaadb3105770
MD5 71cd45239ad4096537a325384552d80e
BLAKE2b-256 b70de90f04fb3c8b4790dfc8878dd7a63a625919d1bbf2c99fc2b24f022d30d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.14-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 167f1d2e8e49d72d1676bf555f4cd2a394d6086c09ac3e3d79b6c9bd644ebf65
MD5 6440ea5a3ddb4c378ce109ab04a6d921
BLAKE2b-256 9cca8637ec32569207fa6ceb003f5001987c13ad3ad99d4d59d812b43ec94fb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.14-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 361c6e914cc7127dc5c1ae4371cdefa619b978a88d9397066553ab5c0bc50d27
MD5 cf53e6f6f5a6effaa51131484c60d80e
BLAKE2b-256 0796ddec2d1bae616a854657c6509ad829596fad01e8ef3aef7da8299d4488f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6fa0519cb4409e2f0b741ae01179ba3d487129ed2e62e9f5fed3bb4803977f27
MD5 7b2f8c94462c03295c8fd00a6fa2d498
BLAKE2b-256 d41a4e35f414b230da73d2efaae6c1bf22d151e17bf34dff16251ddc75bfb0ec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.14-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 17d2c6a5d27f5b73946e7586dba54a1cbb341e58f8ef94aa764a32d087f41959
MD5 beb5e11e0c3c2ee8b7ea33398dcbbbab
BLAKE2b-256 70e127a8fc50800cc2ae97225fbcc8d6d4c33caeca46d66ced63c99956b7e310

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.14-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 49b1e600657519b9b35ee7932e5a54b9e1c09fef5cf9a1313b54161c7975fabd
MD5 79d5014ba505c886a7275a222132d290
BLAKE2b-256 b1e2a1da92d3b7a2db6be0b8cb8ff74c2efb697e6a74bd0a428028eb155d5926

See more details on using hashes here.

Provenance

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