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

Uploaded CPython 3.12Windows x86-64

gllm_docproc_binary-0.8.12-cp312-cp312-manylinux_2_31_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.8.12-cp312-cp312-macosx_13_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_docproc_binary-0.8.12-cp311-cp311-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_docproc_binary-0.8.12-cp311-cp311-manylinux_2_31_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.8.12-cp311-cp311-macosx_13_0_arm64.whl (2.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.12-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1803f3e0609034a37a1f829fc90de820b9554e1b99713ce20d6b1977c0d9f2f8
MD5 fbb4d997b2038c55f580a6178c8f7b53
BLAKE2b-256 a54a7928142b164603c32198ee81dd928d2169480fb6e163eadd3baacd08d1f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.12-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 81b696e4afc17fbc76aa4ac38d7c61c3acde315d7db4bedc159bde4cfdce572d
MD5 b7d26663397edb956b59438985946994
BLAKE2b-256 4a868f19c766895fb65dacae6666feaca75dbaeef083d47dbafa59629660c91c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.12-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3ae9cfb5ef51789ab8425603f53a006ddb449ece0c905d180dcbb5126d3e71f0
MD5 92276f7e1067c4fc1417ccfd400b8043
BLAKE2b-256 48758b0ad379d853ce22e3de7c88657886ef46442859112a0261228823942dc5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.12-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b15ad2df5c8ef8e09b3c268272017b9b413a99e2eb30e797b641f06f961d50ec
MD5 6c0b47c63afce9bfa6ad4316c1f1a1f9
BLAKE2b-256 dcbab33dfb0776e9f2a99b4f49503cfc4793dd0a490c1352671b569d3ba7b321

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.12-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fb4712ebddbe2b6938d488f94ee694195c33d49de02023059977a2b3a000202e
MD5 d1fa387b6c8bf9827d455a21855c1f3b
BLAKE2b-256 424e084e167032f1d611e91ea7223919e94779a439154f740a1d962fa9c29ca3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_docproc_binary-0.8.12-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5777546a9cbf8c80d4be38885dcd4e535b5196e592d39cc166a5c2afe34eb88b
MD5 061ffb66d3d0f6ae5dcd940036747451
BLAKE2b-256 68bb1982b631802f017a2bdb59035b4a1b86d6fcac698726596cac2b9ee7006a

See more details on using hashes here.

Provenance

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