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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.9.3-cp311-cp311-manylinux_2_31_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.9.3-cp311-cp311-macosx_13_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.9.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 83607179d8c7fd8cf5bb6ab72e4d49fcdba12a698ec169c39ea29fc665b3055f
MD5 03e2c5c8682de2bd4adce08c8b876a49
BLAKE2b-256 3a4a678304b4d8b1f93ad1cc35fe33a089f53d527342db1884d8e270ff3d45cd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.9.3-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2ece5ab94523d620ce508aa111a37089880bd5c3b5cd95f1440ebf9584a1546e
MD5 f63d2fc94d09473902c27a369e4ba1d4
BLAKE2b-256 0af4b9fb8439a519e317836b6d913aabc7d6dfd4bfe8f5d55d99058d0c0acaa5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.9.3-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fef02069c0e5404f9e0dac34f5bbb62651ac009f245de8fb249918ff44dc4584
MD5 34748fef5da2efbae7c4634e3e405056
BLAKE2b-256 98756df40796eb1ccd3ed84996920282cfa6916f7d41dfecb43969107c71919f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.9.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a501351d48b22a03fa9c624ccaa2fd4153a0a0b656e7214afccf12a5bb1d9ec2
MD5 9a8ce439adfa6ff05ac15507cdf3f223
BLAKE2b-256 190733e0b6b5b946ec78f7e0889bf034660aa497e54dd82a942e8c421259efcc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.9.3-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 32a223e3c2d391b7241b36474c42a023ce310d9446550d8512466a853cf6bd45
MD5 0b2952b6e79e3ff3809c6f133ab0b94f
BLAKE2b-256 ecc45e441aad986eb2ce42c40d32040afe49b73b347403d2924f9e17bf1acad3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.9.3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4a31871c8f1f463040a4faf042861fc53a0aece1936c4b69cc1b4792bd9eaaa6
MD5 1209c99ce83f1bd3cb8fe29a661b19a7
BLAKE2b-256 aaec377f239af61d29de38eed7108a2d9a6f9cbec965685e7b3d988cd8a6c5e1

See more details on using hashes here.

Provenance

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