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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.10.10-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.10-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.10-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.10-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5be2f6dca7a572c60bfc5d14907675c2c63a3d44a237c49e8144909c17dfea2a
MD5 45db2beb2a3de517833f89bb262fc3ca
BLAKE2b-256 b2abdf00fbb5abcaa0f352391c53317eaa088e7075a8071da21e09d5952da563

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.10-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fef473a3c87dadc2d3822094a217821b9c43d47fcaf6aeeef21942366da4d154
MD5 d4f1ade926cc423e435db7f3c34b6a42
BLAKE2b-256 48a9edb24195cbaa5000aa3d1ae084d9bdc4c4de2232d294df43a455165fe897

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.10-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 95786189650752546d960623ce959c8d7f43c4a895baf1e38027a8f32247cb44
MD5 95a6639687b41b94db37f7c17d8e4fd4
BLAKE2b-256 37668de8fdb19a200feed23783ee7f9a9380bca76a2ef8dd757f68fd14ab13e9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.10-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8252722e25171cee697297502b2d635c4a534a2fcde7f86017864054973abedc
MD5 6f775610857b6792ab36af37322e3e74
BLAKE2b-256 eda00aab80037c05de7ebf1cadd4566742d475619cc53d459ccd4dc0a6356310

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.10-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d41237af18f8c2b9abe325b6644240f59ca5592549e8becc91938276b2cea284
MD5 4d3206702636731116b3d4beb7b32426
BLAKE2b-256 62b7c8edf14553490d12229a18db2dc73f5d9f51ab754a06a833408be5a56484

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.10.10-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bd328cd46c5a08857ad8b34fe86c29a353d005f7596c9914eaffc5c18176651b
MD5 c4db332a6d036f2869fe80d58040cfa7
BLAKE2b-256 57db94e6297eb3becde1c60276e703a66bf9d542130f2fbf0214295722a6b39c

See more details on using hashes here.

Provenance

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