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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.12.8-cp312-cp312-manylinux_2_31_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.12.8-cp312-cp312-macosx_13_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.12.8-cp311-cp311-manylinux_2_31_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.12.8-cp311-cp311-macosx_13_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 59b7c268e4e85f6258f8bb0ba12b7984df7cb1930b4d2bf338ba3d6fb82df965
MD5 47d841e35dc85706407f39944e14ade3
BLAKE2b-256 2275a0cc64f2f7a63ad38c059d22bb43235d439243ec05f7f632fe8482da942d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.8-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 01481c3897e12c426832a5dc90a3e5a85388ef41cfa824af14cb7c098c3756a8
MD5 f6b18fd2853318209a8fd91ea83bde51
BLAKE2b-256 987fc2fe272963fa9b102a4a6a21a7e56b725d654f7c382f8ea7541d13c56bcf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.8-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e366b2aa985319f96041782c8703d11ec497a93b2d37965d12d92121815fe508
MD5 77a040be1baeb191b6b9743a84319c11
BLAKE2b-256 fc067ee28d0eb8d07d4f9457032e9ce93a577a308138a67fc94698ded248dfde

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2a2e154caa67630a196c6753cfc0a504f285f556d4d3e12c3042788c79117dcc
MD5 f055210d39feb9a6a3775aa03aa8d082
BLAKE2b-256 8eacb074e6dbfc9e4ca1cb10d6ad23e334c8dbe20efc463542d81d7fd5f7094d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.8-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f90d39fe31686c92546a6739c4956c8aed360ac7b5b806b64f7c95a8e2421e23
MD5 3c301806a821f2a218d6cc94523aa217
BLAKE2b-256 0549a15bd56e40258ced91fce75e462a56e82b7aa0dc6a37f8ff16573bdf8a7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.8-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 45af50ce69367198691ffe3169bdd72b9063dd321e46b773075435e136872bdf
MD5 10581069da0baf420978d6e1e8820ac3
BLAKE2b-256 bb0f176323b0308b8bebf8e59a2dca786969b6581dd7a6bc57e260d10a46bc62

See more details on using hashes here.

Provenance

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