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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.11.45-cp312-cp312-manylinux_2_31_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.11.45-cp312-cp312-macosx_13_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_docproc_binary-0.11.45-cp311-cp311-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.11.45-cp311-cp311-manylinux_2_31_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.11.45-cp311-cp311-macosx_13_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.45-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 721516bf99fa27a81d9c34fa39721e88510d38107ef9e04413a4bff98fdcf042
MD5 db91e59b63e4ad6588082de967e9b09d
BLAKE2b-256 6457e5b74385380a93a6bd24a356c66914320b64a75cd6464dead92badfadd9d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.45-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5425fc911230c392978a86152ebb35d0ed0d65d105b8030fb3b16aecfbf69543
MD5 9a28773f31eaad49c1ae1046469330c9
BLAKE2b-256 d87570e00ce8bf09ea8dd0f2eef1ec95e64b7f87cbcf246281e0874a9f65d4a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.45-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8fa964281aa07e510efa287f1b5f963849b6c0215fad3329bc946b4547233b8b
MD5 dab4d09b6180289ebd0f3a28bce7a894
BLAKE2b-256 d7d3f921069fb01659b1d84e6915dc7d122a39250480ac92001fcf05633eb5bd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.45-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0f578990a0c8b6b723cfd4a8d3ff7be517724fc3883ae1b2ecc243db065511b7
MD5 99ac036812cfba414c5fb8c9cb98754f
BLAKE2b-256 f96b5e2db41030d7355abf73efba80dc3f2e66044e9d62059da16656d6e94556

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.45-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a38ed9482cf1c7103918be91af31c8fd288964d67c43951fd27fcae8f49f25ee
MD5 e5e4696ed7206d504677c4f0d4b54bcf
BLAKE2b-256 c930567337cac05a66d0d23d51a5c0d9460d36e9380a0eed660fc4b3bed6e65b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.45-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7d80e183b2d4cc8cfbce23f6c37aff6792e2948ad4591699d850319ada0599f0
MD5 fbc74916744fb95a7ea1a1029b1b04a7
BLAKE2b-256 8c53557f988af2f7928af84277e1087b58ad7d6f3132e52788302b8eab6222cf

See more details on using hashes here.

Provenance

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