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.24b2-cp312-cp312-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.11.24b2-cp312-cp312-manylinux_2_31_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_docproc_binary-0.11.24b2-cp311-cp311-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.11.24b2-cp311-cp311-manylinux_2_31_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.11.24b2-cp311-cp311-macosx_13_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_docproc_binary-0.11.24b2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.24b2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6227944a0d60368d4f5ac003be47ca5db3e9a9c9ff0fb70f0386c771b586dda5
MD5 6f844a8b0789e0417a78bdd5bb62f1de
BLAKE2b-256 72a9a03a335cf25ce790ada7d2066c2e318a9c1b3adef611a1b03187d2e110fc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.24b2-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 443bbb0f53fa5409d38d83f58fe4826593988771073d00c53e1cd625da0ecc62
MD5 f2a976a6ae10c3b411fe8a749b45f38e
BLAKE2b-256 99e0920025f2e33533cec0f14290a68e11699063430947dd4ddc3d18552ea9f9

See more details on using hashes here.

File details

Details for the file gllm_docproc_binary-0.11.24b2-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.24b2-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 226754aefdd3969470010a73c959049f2de86ed51e62d55b5866dfd03fdc3346
MD5 51d2d17ad9d0992e9337285ec6ec2b51
BLAKE2b-256 10e164f1525992b433393e4eb2114dc1f524e9f7a13b004b996c53ee6cabad6b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.24b2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 38fe34402f7a1ff66bc36eaced20c5ddf08376490573e5479f0a4f12ae9fbef9
MD5 e35a24972b9385bd25f38f477c0aacd9
BLAKE2b-256 954cdef289748bda2c26783b4ceb7a0a3a44d426f784b376c7c9073bc4149600

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.24b2-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 000fb3b44bf058d993106e3372e7bbd0add708fba9b26304ac3b95f6217e9701
MD5 ed3d6dc2e805e0d64ad2de05b6fdeded
BLAKE2b-256 57a65aa4c1150b16b331ebf594e0f4c28977a20124bbf1f0c35da12458f6ae6c

See more details on using hashes here.

File details

Details for the file gllm_docproc_binary-0.11.24b2-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.24b2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9fab5bd4227b2ef294f6b4ba50ea47b26f02aaee5894f857f9ddbe714137eda6
MD5 dea7fbe5947717c043e81cd14d6971a4
BLAKE2b-256 41be811c53d1572b03079d1d8a60cef14765c1ef48e4200c4dd3d09be1685e27

See more details on using hashes here.

Provenance

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