Skip to main content

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.

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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.12.10-cp312-cp312-manylinux_2_31_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.12.10-cp312-cp312-macosx_13_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.12.10-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.10-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.10-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.10-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6e38b9e711034c79f2583090a46fa9931c080634ba8b8cdb1982dbc433893258
MD5 49ec1155d793b28339dda80cfb37164a
BLAKE2b-256 ea31f4f98a0cd348fe4964c9f8c4b26a085ef078c0f51d41c5caf2b13d9c4584

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.10-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 50fa7d61e0bbd152c1f19492d8c53e77507395b4bccf5442a5a38f24e6913bef
MD5 81fd419de0ce5826fc78c5ec080febb7
BLAKE2b-256 8efab6d3695da74a774bf1eef4d8d0971577f97313a312a8c6bfb46de9095817

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.10-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 02dccefe434bbdbbc54e36565b9b189baf9e82dbfc85bd077926a009236afda5
MD5 a871ba15527d44f86464d6bede3ca228
BLAKE2b-256 58fc77cf3f68b772c7f89cabb1af1b4a352555a298e8ce44d0869356b792d1a7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.10-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9b7f47f6c8574b2827384704d42e61d0f0c8032bf37f8243390340163e91e583
MD5 2fc720e1de18efdef4ce9310bb0f13dd
BLAKE2b-256 5ab31289239f25f29f98b09972cce9303c150d9d0d2c6f3a613ac1ffb9815f89

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.10-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 10435e0863367fbbe2edbe836253b18e8414c919bb56fc9d506375617c868da4
MD5 ef530b4de6fb9f04258ebeb687fefd42
BLAKE2b-256 0b1b3da1ba5da2a50573e756fa78eb286f5212c7dd6c2e9aff06e531d1808af3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.10-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2a006dba43da0115ae57d2081218b7d0b8a1d60b264ca581979f3c602c965606
MD5 ada9f23b81cc1892d61f9901b378f7e4
BLAKE2b-256 62a668def807fed3ef8ec9666331372eb126aaf3892c3557659dda4155cc47c5

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

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