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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.11.28-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.28-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.28-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.28-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0e420407fde8d1308bc0f4e0a92aac29f097583671f9db63a754b7a82ef7af9b
MD5 49cb70b562a093bf3946a39e2be6afaa
BLAKE2b-256 a4cfd4978538eaea78352a5fbddde0e4a5c2371ea501d99a2c725c47e0b98288

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_docproc_binary-0.11.28-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.28-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.28-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8a0ec91fbb8812bbf07e378309ebf110f1f04cd13d2e6c8ab3bb1d2f9d4b8fc0
MD5 bf2f7e0fa62fcc8bdca30d8f584309e8
BLAKE2b-256 f38d1601700809a267eb3ff47ce21ea67d6221fed874a1263900ce8fd8dec534

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.28-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6bfa5dc94d79fa847eeb50db963d8d9ae1678d1c500e9053665c691779b5d347
MD5 9a4a6542d0dc84a3175cb95af3afb320
BLAKE2b-256 a8bc8609dbe26784d860edf6b0e35814bbad284c5c122c5cdb0f91ecd8cc4685

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.28-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f4853e538ab75629534de8def0bcda1b2a3a9252d66e5bb83555711bf608101b
MD5 cdba258f72a0ac073df76911ac5d64c6
BLAKE2b-256 84163b0c0bf999760650b05d67752d63afe0ad824bb049657e82187ef081dd1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.28-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 42dd8150fd3c32f82e64e87b303de71b54dd11f1c13f88333719f3fbb868d990
MD5 595a2bdb47343e7acbf92c32f8920edb
BLAKE2b-256 0cc39f6eb6b29b2cfebc1e4b74182640b575e04b7cffb192d49eecb950bb0f11

See more details on using hashes here.

Provenance

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