Skip to main content

Intextum processing worker: HTTP-polling Docling/FFmpeg document, image and audio pipeline.

Project description

intextum-worker

The Intextum processing worker: an HTTP-polling worker that pulls tasks from an Intextum API instance and runs the Docling / FFmpeg document, image and audio pipeline (OCR, ASR, chunking, classification, content enrichment, embeddings).

The worker is always-remote: it downloads source files from and uploads results to the API over HTTP, so it does not need a shared volume and can run anywhere — including on a host with a GPU while the rest of the stack runs in Docker.

Install

Pick the bundle that matches your accelerator. The macOS (Apple MPS) wheels are on PyPI, so it installs with no extra flags:

pip install 'intextum-worker[mps]'

Linux CPU and NVIDIA CUDA pull their Torch build from the PyTorch index, so add the matching --extra-index-url:

# Linux, CPU only
pip install 'intextum-worker[cpu]'  --extra-index-url https://download.pytorch.org/whl/cpu

# Linux, NVIDIA CUDA 12.6
pip install 'intextum-worker[cuda]' --extra-index-url https://download.pytorch.org/whl/cu126

Available extras: mps, cpu, cuda, cpu-document (document/image only), plus the granular document, asr, enrichment stacks.

Run

export API_URL="https://your-intextum-host"   # the API to poll
export WORKER_TOKEN="<token from the Add Worker dialog>"
intextum-worker --capabilities document,video,image

intextum-worker --help lists all flags. Every flag also has an environment variable (API_URL, WORKER_TOKEN, WORK_DIR, CAPABILITIES, POLL_INTERVAL, CLASSIFICATION_DEVICE, DOCLING_OCR_ENGINE, …); CLI flags take precedence.

Development

This package uses a src/ layout. The repo-root VERSION file is the single source of truth for the version; it is staged into worker/VERSION at build time (worker/VERSION is gitignored).

cp ../VERSION VERSION           # stage the version for an editable install
pip install -e '.[mps,test]'    # or [cpu,test] / [cuda,test]
pytest

export API_URL="http://localhost:8000"
export WORKER_TOKEN="<token from the Add Worker dialog>"
export CLASSIFICATION_DEVICE="mps"   # macOS Apple Silicon; use cpu/cuda elsewhere
intextum-worker --capabilities document,video,image,training

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

intextum_worker-0.1.5.tar.gz (112.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

intextum_worker-0.1.5-py3-none-any.whl (93.8 kB view details)

Uploaded Python 3

File details

Details for the file intextum_worker-0.1.5.tar.gz.

File metadata

  • Download URL: intextum_worker-0.1.5.tar.gz
  • Upload date:
  • Size: 112.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for intextum_worker-0.1.5.tar.gz
Algorithm Hash digest
SHA256 386cd498a3bb7d04cb4af614e8da76fefe3e772f34f0c79ea6b5d8bf068a41f9
MD5 ac9bf231dbd2dc58adbfb1799c2c5b8d
BLAKE2b-256 ecdb8feab279023fdae450a3e98f59f7e1edb9ee79970f839df401e9908a67b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for intextum_worker-0.1.5.tar.gz:

Publisher: release-worker.yml on intextum/intextum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file intextum_worker-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: intextum_worker-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 93.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for intextum_worker-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 93d6777111b90796539cd19e9d455cf6d8414329bcf30f69e19193c3f4d37830
MD5 bb5be998ea908951a6a351f71f303667
BLAKE2b-256 fff912a0804596a975190e12bde68bba1fcd5632e4424a4423b6e786a1e4df17

See more details on using hashes here.

Provenance

The following attestation bundles were made for intextum_worker-0.1.5-py3-none-any.whl:

Publisher: release-worker.yml on intextum/intextum

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