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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.7.25-cp312-cp312-manylinux_2_31_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.7.25-cp312-cp312-macosx_13_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_docproc_binary-0.7.25-cp311-cp311-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.7.25-cp311-cp311-manylinux_2_31_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.7.25-cp311-cp311-macosx_13_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.7.25-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 927ee7dee272e381d01a7bf5bb2f82c0d2b6ac002e97d0e27d5152739e28dab4
MD5 179d941cc4ad8fae0ee3d70b12aa7cad
BLAKE2b-256 13ec53419512e822ec3db741fb930a13fbaef997db587604187f29ff5dae9e55

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.7.25-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2aef128c46e67f2fe2588983ae18cb407a42a502b1240ceea7c28b1f71c5e0b0
MD5 778a08fde51aae4043f41baa5b7388c6
BLAKE2b-256 f56e8c8dcf5948a8decf0fe250fd78e8ccabff0e6cfcf6e43d413ee42d5c5711

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.7.25-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cba625dcf95d0f102e056cc4c095f40642dc685fbbd633df7beab1a2eeb6854b
MD5 e53ea85768bd3873b4f55364aac1a3fd
BLAKE2b-256 2ef8e27adcb4931e5899da8ac1951fccfd0746a79f21289dfbcaf9c43249b613

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.7.25-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6df0e3e75dbac3b910bb9a34daba319225a692fc90ac1be0a74192868ab71d11
MD5 8195062e077d6825b1aad073a7bee8df
BLAKE2b-256 4af58095c9454bb7aabd1185f0c9062829ca5b0bd0c1e0be9cb7b2462571dae6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.7.25-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 413f18c22a7a56b4626897b5c34a31878c806b8fb421baa03730e3d0f00b4583
MD5 e6cc42db13fd6c03cb0e4c70cf278981
BLAKE2b-256 a5aef5d80e5d80f35f10ea84668a873a27e6007bec14d8ceb2fd6732c7660d40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.7.25-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e52f10e7fa62ba734e0c5265624eb7f0cfb2b4c96beb6667ccd5f65c10421de8
MD5 0b2a0da3c7b0f87d56da939c44cec7ce
BLAKE2b-256 8113bd02700a7c2f95f7777e24045611acaf0bbdfccba6fcfb856838f8373f6f

See more details on using hashes here.

Provenance

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