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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.12.4-cp312-cp312-manylinux_2_31_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.12.4-cp312-cp312-macosx_13_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_docproc_binary-0.12.4-cp311-cp311-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.12.4-cp311-cp311-manylinux_2_31_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.12.4-cp311-cp311-macosx_13_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8f2ba907e1911a7d3c7fec00cbc3a387d10935708d3a4a06b3260a6cd375df88
MD5 0176ceb5737f23a35e28194268468a1b
BLAKE2b-256 bb1a9d30e7b0e9f7a31e389ce8a4b20ecfdc3bbd05d5ca4ccd804edbb7fd7d75

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.4-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 00d5e76c34ca66c4b2950ecd129eba9e1e2ab6dbad9084fdf2b1c580a398c774
MD5 acddab915032ee10507c7fb7b61c034b
BLAKE2b-256 08daecec73b9780d31eeb14b33ee858cc9eb0e43317e4514313a2c26039d2fec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.4-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7fc6c636a861c66046cfd94a09a5863563eebef1a93d25a4630d9077c654c454
MD5 3971327c8f3e26b2cb5a610928129bbe
BLAKE2b-256 92e8634888ac7a66aee26bbeb504a82a266cb7f3c343186045073eee696ff82d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7a2616eb54bea1df56003cd4cc74c0ef1c262451da03564ecab9f880bc56e6eb
MD5 7ea590483a81fd34abdf464bdfeac581
BLAKE2b-256 b48d80b13b865be6e377ef36cbfca0ef9a92b9cfe933732be2e43240b3f71042

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.4-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1b45a1b9530e8cef0d1b04407ad87f3e7dd55cc51a9da4024e6848c1c69713cd
MD5 a4355ac8de9c29eab5c6754ab605daae
BLAKE2b-256 6f68d0749476d9f4fe401ec587c00502178cfed0a418be569ce64baba1471fd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c8cc38f1bb76a4c91c062bedb8ac6fb1da8db8addcb5a69d549469841daa68b1
MD5 a00de4e15a35288ff80365770e0c2b7a
BLAKE2b-256 b7e06bf636ef5f7c37ea8e4ed4f6500069b8f36ba45575ef687b8827726eebea

See more details on using hashes here.

Provenance

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