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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.8.1-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.8.1-cp312-cp312-macosx_13_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.8.1-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.8.1-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.8.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 02bec83df559098cdebb829837874c7288702148757a193bd8eb14bbde626d84
MD5 e68a40789649c943c57fbfec26f16721
BLAKE2b-256 a5ce176aaeff8904dea0ea1e56fe849c46a398f40baef78b257342578b7a89d9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3c3382957f5ae259286d4b52808a98d714fef007768ff6ac23689089ec2edcea
MD5 f0221e2dc896edda2b45277209615608
BLAKE2b-256 098c9e4a4d3561f0cc22b18fcdf9c9a313d0d0d2a479c2363feee7cc65c8870e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e528ed838d198d65ff910d445ff1ba5a4c4743f12f033be72016a0ef0c8dd002
MD5 5b22383783c31a0ab6f7a9eb0e7e0b7d
BLAKE2b-256 e31195454f627325295138fb6f83313e5f95e98e92a03914d8212b9ec0d75f40

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 73dd6a76627894b88a4be3287d40ced9671939cc31435e1d1b042b7c51eead50
MD5 c363471b5752b652f0db19a73812d00c
BLAKE2b-256 a387bae93ac1ab1e06fe71331ed00002ed0d7274f58164632a2f3c090dbb1bd9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a28a3d2a5d0ca929f6f8b497579edc2f89daef1b9066b8cc236a02d7f5235010
MD5 68e617fb0904fdaa8f51b3197e81ae5f
BLAKE2b-256 fcc661b808ebfdeb74b1da3520828adbc3f16e75ffe9c669169dea103003e19d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 76da5b29a4e00af8eb115831e9e899ce2e02bb693971b48f9c428c122ebe4958
MD5 fd741f4536b40889329e6082fa5fea9b
BLAKE2b-256 765aa3164977011a90fb85be12a8d4b653443d01834da68b36753dc11e046a4d

See more details on using hashes here.

Provenance

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