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

Uploaded CPython 3.13Windows x86-64

gllm_docproc_binary-0.12.15-cp313-cp313-manylinux_2_31_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.12.15-cp313-cp313-macosx_13_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_docproc_binary-0.12.15-cp312-cp312-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.12.15-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.15-cp312-cp312-macosx_13_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_docproc_binary-0.12.15-cp311-cp311-win_amd64.whl (2.9 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.12.15-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.15-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.15-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.15-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c57c1a96da15a9990b42f11aeb5aec1bd7d96015afd75621d8fadd53c2f62e41
MD5 abfaa3fddff50984f8dc9828e0592163
BLAKE2b-256 599dcda12d10805ee39000aae67988ebba9566b2ce67d75c798b02f703b000d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_docproc_binary-0.12.15-cp313-cp313-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.15-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.15-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 bdf7d27cb938a5716d81811491f32b274d4af5e115a40392073f4b5e66c0ba5f
MD5 e9838367c53e4324155841397944f687
BLAKE2b-256 a2d20b5622d4e7cc4b53582a38484bfcc68f0a59a09f83fbb03908f586c569ff

See more details on using hashes here.

File details

Details for the file gllm_docproc_binary-0.12.15-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.15-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a876036e10c62253a74d344333169a6a29106b15367d591e51f98e2acf0f6d90
MD5 5a7fa43f935aca1f4e95dc2fea11c986
BLAKE2b-256 20fe159b69db7163bc981ada1feef171b69ebebcedab513b1643e1dc3b31b453

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_docproc_binary-0.12.15-cp313-cp313-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.15-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.15-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9c37cfaf2034a38c251ca4bd698c56acb02183db030e122554ecb9dd0dd99a88
MD5 d61feef16289e4bc5f6e6541e6aae407
BLAKE2b-256 3c116dcc9dbf6db602c612aceaf41991b4e02eb15b8dd9ab05855f7420442cee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.15-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8e1070c935023437b6f7567bb9d550e92dabfe4199034b8d39a5abc9491690c0
MD5 9b60f6747acc56d96257e8e968ee4e9d
BLAKE2b-256 d54c66a07910d73b78ce65d751825d2e9ca6c2a66be6f9f680e51c039e8589de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.15-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0bd6596a11933857e9378c07efa0d578d21a2f635f44ead27026bb6af91b5f3d
MD5 19926b81197ca852a4daa606e53ca77d
BLAKE2b-256 c3e73841124a8ce729bda87f4afdeb12a61f6785411751e8c13ae5d254e589c3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.15-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9759cbaefdf997507644c6f258b83334b8549f7909a5b6292d2ea848bbb84ec0
MD5 7c0d74fda079bc26750ef54584af4e67
BLAKE2b-256 13f0f0ee74e82674e102a74554e0eaacf025d5c9ff97a1b5bcfe0b667d89d71e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.15-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6fdb74cdda768971cf650a3266be9aca8977eac15b155e1a9550a8de36320bba
MD5 365bb755fe35c3509b336f3e2e70c315
BLAKE2b-256 18ad13297ec465a15caabc1218fc02a9f3de610da98e2ebdad2ab459b3ac2d85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.15-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ec2d633124b9d5fe1cea24bf2d061aa11b21b4069684cd6991e12fb8c18d8821
MD5 5705e9e78126fc46c7551ba1edeb4f50
BLAKE2b-256 c5d8976893a03ac5f96fb923d161124d7729fb4f454be46a7a94df726295dabb

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_docproc_binary-0.12.15-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 Sentry Error logging StatusPage Status page