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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.10.6-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.6-cp312-cp312-macosx_13_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.10.6-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.6-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.6-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1d18083762bfd714b14581790c43ed29971c71e06293042b62cdb9d9279cd204
MD5 d7d455c5b01cb20899512f94b27f50fa
BLAKE2b-256 b784491901cd49148c37be174c902760c1f839f7de548135ea37c6e09fdf8551

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.6-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 21045fb81f1f0c9e64c1f63ad2558899a1c594cac4efd288951ba7518bc5bcdd
MD5 a2caeed75b2d070e58b320f30dd841fb
BLAKE2b-256 f3515e87bb2c8606dfba21ca52e1c63086726a8613f60b1afc3921b978c26e87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.6-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1c82cc94e910faacfcf7944ce2f0ccefa66b6ea5fbc1cbb2ad371943965af477
MD5 db533f811e5fdb0236348a9e4744facf
BLAKE2b-256 dc9af0a912277896502fd344ee2f977c9633633a651a85c2dcb2426129eb9585

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4519a47f629979db7c35271b7d35df5cb639dbc44b483a1f9455b253e951cdc9
MD5 6a3df707ade65e07ad56baecc7d496fa
BLAKE2b-256 753bf4daa144ca15e5cee60fd0558df4745d83d8ea64a63c55718d27d59546d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.6-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 997163b2c2bb72cd36e4841dff78498b6ff8683956efc6e23f234aa9b0237096
MD5 a824ba7c11f3847474c3b5f2995b3019
BLAKE2b-256 29727850e24eb6d8a4465aebf432c6b02e1b56ed6ceb526856d982af6f62f68e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.6-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 770d78025e1a232ee19defbcd6ec731ff1e0deb24590c6853405e2b006e70e9c
MD5 eea6930aba9497034ce350077f547677
BLAKE2b-256 2d760eb711c6c9b494ed01b6d75ff405d866483a33d2f47d48dac2c7b09b0e31

See more details on using hashes here.

Provenance

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