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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.8.2-cp312-cp312-manylinux_2_31_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.8.2-cp312-cp312-macosx_13_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_docproc_binary-0.8.2-cp311-cp311-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.8.2-cp311-cp311-manylinux_2_31_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.8.2-cp311-cp311-macosx_13_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f1a9d9b796f7bc261918e61c3d3409d827582f051d37cf790af69efb50dc743c
MD5 98dd7a9a07b7f3533500244e548085df
BLAKE2b-256 f341ea0dab4c23d00c060c301ea2d9e608311d1fb7f3713b753ac38cf0a82546

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.2-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fc3813873f9c21d53a89c7bed6348fc7067e5083070baa04744ba6fa04ce4b51
MD5 d7de2b5e6be926288e5ecbde1c01d7b9
BLAKE2b-256 5da684e1d88014ae0a865773a2c93c8f17ac9de104955d7e6878e185d405bd84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.2-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bd8595c798a81ee69980907b735c107aa5937aa24de9ba2c8a0bdb1da4c3f9e4
MD5 0a6b77f0e54d6b7fe12334855b3dc099
BLAKE2b-256 26791d89a24af6713019f6b0a8f4070549ca7e7d86033da64457dcd381431e9f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d7e4998554544e12fb8233ba4a8d7b23ef42f218c7883f519ee6b534d0910565
MD5 244acc64b40013f55ab14e4216e88236
BLAKE2b-256 14c7998d901d37d238ef2cfdf3f8209135e1c93a0706e840231b665350621c8c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.2-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 40ae99699e81c0cf7b124e2ee7085641658f836c663a48f626be396608fb02ca
MD5 c22fac94e22b143541a9fdd30b86dca2
BLAKE2b-256 34e391e40091283e2230438c7fb17b061cef202c42eaa27dd22ea3e195b92740

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 90e9063b224ed5b60c1669cf32089aec61209fc28ac763d68f7936b5da208917
MD5 7856d81c1da165603f74930478e8a8a3
BLAKE2b-256 1ab412f1b93cb87da0672872afa831fd1bbaca268a251d915ec7296827a1c29e

See more details on using hashes here.

Provenance

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