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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.11.10-cp312-cp312-manylinux_2_31_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.11.10-cp312-cp312-macosx_13_0_arm64.whl (2.7 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.11.10-cp311-cp311-manylinux_2_31_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.11.10-cp311-cp311-macosx_13_0_arm64.whl (2.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.10-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3d1b58e6d2d5271f5cd74fd9ab8d118fc1258dbe6403a46266feb5a7bb5cd302
MD5 b135f1642717cbbc3384dee4a77b824d
BLAKE2b-256 a5ddba8fd2fece415890f1e1143ca5026dc553ff1aeb27da51fe6202c9ead238

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.10-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 38da49e7b5af05fe8887004c23a4ad349463b7461d555c3cb4c7dbd22c9ef71b
MD5 f6b4367872df016437a082197a1c39bc
BLAKE2b-256 1228c1d46080bea45bd7d945bc7ecf4e64d7905d2b83be66764582af00a09531

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.10-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f5b8173a488ca3319986bc8c50671452d820b8b9e589c4eee473119c7cc86ac2
MD5 ac3488ef092c2f55f54e6feb89dad6aa
BLAKE2b-256 b262e51aad3b60e39bd9b0a30530a4caa98823cb1f92fadd73bb4f03afef4997

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.10-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b4897f2269f7d88e7ac78868a99e53fc3f67284ee435e2bbd6e775970d92d98b
MD5 daadb6898794042b9106d62147ae2e53
BLAKE2b-256 ee91fcf68a83bb6562c4da22e35af8838b673492b11516a3ab31990e94c25e3b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.10-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d029ac1336ccc93815a9826ba31233070e9bc6d7cba14b8116f4088b71b6b49e
MD5 48b9286aa6f2d482f50823f6c5d2289f
BLAKE2b-256 c188d1baab8c7209591bb1de74ca74112b35424517da9e38b05c68f6de6368ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.10-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3b8ac396d480c9d6c4072a721d4bb0ae2de8b0e9a57a3ac585c8670d29c72dd7
MD5 1094d18d1535bec18cd8544d43834b7d
BLAKE2b-256 447fdeacc19e72b7a796d5c10741ae1c93023bca4167e83148cb1ba2f72d136c

See more details on using hashes here.

Provenance

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

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