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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.11.37-cp312-cp312-manylinux_2_31_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.11.37-cp312-cp312-macosx_13_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_docproc_binary-0.11.37-cp311-cp311-win_amd64.whl (2.6 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.11.37-cp311-cp311-manylinux_2_31_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.11.37-cp311-cp311-macosx_13_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.37-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0d7a9188706ec63ed26329314d3411b4e070bf42c98a70cd70253e3788adbf68
MD5 ed45e450ca3f59de9b657a55647f339b
BLAKE2b-256 f144c670c4c6cd9ed186d1b152d62bfc469876f1885a4438d433daa0f7ee4f45

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.37-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e24975238c9fcf2d1e95ea826d98f0a49a1f0b8c357536dec9a1155fb15106b3
MD5 cc7ee17bcd55da4f7f47c3489eafafef
BLAKE2b-256 7c894fc639cb35ea4ba2007a22a97c2ad06aeeae46f13d8d58d651431bb5c25d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.37-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c68dd0e9adbcf727774bb6c35ca0f8a2e2eb9f19896a185c2bf811bc86af4b6c
MD5 ada79bed630d021e7c9ef01385325f54
BLAKE2b-256 322b15640e623da2cf9575fe311cd9fe9c444c1f7e4a743ef164cafadc7e6ddb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.37-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7a0bb6f387785bf8be48521adb2269d994e211b36ff4cb357ada63185e953eda
MD5 fd02654be29e1eb7ae9a4d59143d6f17
BLAKE2b-256 1dd3d1ca831757cc35fcc00b6c52e759c28faf72c7f624d7cad614487d440cb5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.37-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9bdce5b1ab770e2f4121f91856c2f469643bc945c2e8da0f0fbe949ab3776c49
MD5 606a39e74ba8e977096e86f5e36e5194
BLAKE2b-256 beb98f77adcf8f696297b0087312c37ab8fb0ce7d9f1197e213d090eeea4e0aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.37-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b71f7fde800161435032599de404edd4057f86035c340aeb48d51665b7f1420a
MD5 c31df4cd17c317ac0e556b18aee1e3fa
BLAKE2b-256 531aa23e04762e660c50d0d3d7dbc59b25b54c35aa863e5ca44334795ecfd4bb

See more details on using hashes here.

Provenance

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