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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.11.8-cp312-cp312-manylinux_2_31_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.11.8-cp312-cp312-macosx_13_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_docproc_binary-0.11.8-cp311-cp311-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.11.8-cp311-cp311-manylinux_2_31_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.11.8-cp311-cp311-macosx_13_0_arm64.whl (2.5 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4f6e761e7161604a71e97c831bc2f5b14e954b9b47569a6a1b91cb7c8e343c77
MD5 53565a78c817c5f09331a66c8e0b29d0
BLAKE2b-256 97a02bb88cebef630f9d1a824f1734eab9458ca645c60bf6ada0c983828cc298

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.8-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b08cb989d8013f67c6a82374eac38a01016118491b2f8af3477d549da58fcbf3
MD5 137862070aaa52347b6f716dcac023f1
BLAKE2b-256 aaa2d36f9d7267fa13d49b97aea5c6af92cd0f277c30e85579e60adc37b4342c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.8-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3bf4a00a821ae8cea5d9242be9d305aa7f5da1dca02ce056064c18c3deea8294
MD5 138824eac6f7d2452c1e3ea8d458cd06
BLAKE2b-256 395232005980a9dfe29ada2278e07af8dc9e71e87f0584f8497f358e476b151c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 239cea2ba88de49b302944b61ed4c95261c8468204d37cc3075ee392a9d59637
MD5 f7051346127aba43d789bb290ed3d968
BLAKE2b-256 e66d0f2bb21d55e23f1d4f4d1cec1bf2b79642ebdd7a3a13d26ba0df8905090b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.8-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c44954e25c04bd51ae405fefe4c753cacee724b71cf8f998d461b7f0580916aa
MD5 5665d0202113c6d5fa3279d96e92568c
BLAKE2b-256 bbbd326ba8d9807e862417a4209b9a404ef51972659ead5bd21fa249c8c98f1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.11.8-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8a940bd2ca0d2ba1e9482922394e107fad8923924fc982d6ee8ceeb2fd71f0ce
MD5 455948a3228b0c3188d75ebe7cd2dd51
BLAKE2b-256 0628229bcefdf551eefcfcbe5187f60a48eb9fd879e611621f2a05c9bb3f42c4

See more details on using hashes here.

Provenance

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