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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.10.4-cp312-cp312-manylinux_2_31_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.10.4-cp312-cp312-macosx_13_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_docproc_binary-0.10.4-cp311-cp311-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.10.4-cp311-cp311-manylinux_2_31_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.10.4-cp311-cp311-macosx_13_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 73be72f6f595e31726ce82f74918b190c9d609639c9f2aad6362e977c476e438
MD5 de01f8a7d75759cb9c274008c81e71d4
BLAKE2b-256 676d77d67e8f022f6f862a18bd9597e82b3d7663ef5d4c119cd3c2ffce44c514

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.4-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 eabe1738f729ec6be73a54238a0fc6b68c4db91d64cdece989112122b0a01224
MD5 7b6aa4df4a4a3e9ad6b6332c704c351d
BLAKE2b-256 68259eacab902c947accda6e1d49bd2debe0afb5d5d8d3dac7f966eb47c80934

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.4-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 71e073e8e563cb0d15c44715a7d750b2a37f460019dc8bcb567b45628dab50a1
MD5 199f66265a0b61313bb83023fa3bf028
BLAKE2b-256 808a8225ba71c7b38d668ee8ae4cd74a33c197d9248844a73dc5a67d13649dcf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 273c17de748e2203322468c0a2e5cb371809e4b65a2a4d1a5cb29fe90ed4965e
MD5 dfa3bfe0d23d6dda27c2bd6ff458d353
BLAKE2b-256 af2e3c7d8124d53930a10ad5c5b6f709ab446aef66cb2d374be32099879798fd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.4-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 27fbf605829bf5a150e59a2890dbeb6e16506a70a78eead14a2d1131c7623e21
MD5 599462ea360f49b7b2a2304c3fdee756
BLAKE2b-256 6e84fbc01d38cec5582939448e2553974417c321f05c2bceb62241c38009d02e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c8e8335de373bc7d1f847e915edb514dcdf44a92f0fef8570fdc4da31ddd08f1
MD5 bb6d7dcf4dbbdd5511a2ce10c998f83e
BLAKE2b-256 ffc092b79e05837c384333ab2f660f9157d1bbfdc4df99b0bbd2e67265637e38

See more details on using hashes here.

Provenance

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