Provium Dispatch
Documentation · PyPI · Issues
Durable orchestration for Provium pipelines: registered graphs, PostgreSQL queues and computation leases, compute profiles, named input sets, and coordinated cache maintenance.
Installation
Requires Python 3.12 or newer. Install into your active Python environment:
python -m pip install provium-dispatch
This also installs Provium Pipeline, Provium, and the CLI. The base installation supports local input-set indexing. For durable PostgreSQL queues, install the database driver extra:
python -m pip install 'provium-dispatch[postgres]'
For PostgreSQL queues with S3 artifact storage, combine the extras:
python -m pip install 'provium-dispatch[postgres,s3]'
The PostgreSQL extra installs a client driver, not a database server. Provide a running PostgreSQL database and its connection URL. Install your artifact and procedure packages on every executor.
Quick start
export PROVIUM_CONFIG__DISPATCH__DATABASE=postgresql://localhost/provium
provium dispatch register -f pipeline.yaml
provium dispatch enqueue text-processing \
--input document=document.pa --output word_count=word-count.pa
provium dispatch run text-processing -v
provium dispatch queue text-processing
Configure dispatch.store, dispatch.database, and
dispatch.scratch_directory in .provium/config.toml, or use CLI flags.
Dispatch does not read pipeline.* defaults. Executors need the same artifact
store and installed procedure packages. PostgreSQL stores metadata; artifact
bytes remain in the cache.
For local input-set names, the base installation needs no database:
provium dispatch input-set register my-document --input document=document.pa
provium dispatch input-set resolve my-document
provium dispatch input-set find --input document=document.pa
provium dispatch lookup text-processing.outputs.word_count \
-f pipeline.yaml --input-set my-document
provium dispatch input-set unregister my-document
Input-set hashes depend on logical bindings and fingerprints, independent of pipeline, run, file paths, and UUIDs. Local indexes use SQLite with one connection per operation; PostgreSQL supplies the index when configured.
Queue groups use --queue/-q. Output destinations are captured at enqueue.
Both --strategy item and --strategy stage are supported. Cache cleanup
currently supports local file stores and conservatively blocks when queued or
active work may need retained artifacts.
Development
From the repository root, install the workspace test dependencies:
python -m pip install -e 'packages/provium[test,docs]' \
-e 'packages/provium-pipeline[test]' -e 'packages/provium-dispatch[test]' \
-e 'examples/provium-text-pipeline[test]'
Run the combined pipeline/dispatch suite with Docker running:
cd packages/provium-dispatch
../../.venv/bin/python -m pytest test ../provium-pipeline/test \
--cov=provium_pipeline --cov=provium_dispatch --cov-branch --cov-fail-under=100
Testcontainers starts real PostgreSQL (postgres:17-alpine) and LocalStack S3
(localstack/localstack:4) on dynamic ports and tears them down automatically.
No manually started services or fixed test ports are required.
Run Ruff, Ruff formatting checks, and Pyright in each package directory.
Build the shared documentation from the repository root with make docs.
License
Provium Dispatch is available under the MIT License.
Metadata
Release files for provium-dispatch 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| provium_dispatch-0.2.0.tar.gz | 46.8 kB | With provenance | Details for provium_dispatch-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| provium_dispatch-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for provium_dispatch-0.2.0-py3-none-any.whl |
Total release size: 83.4 kB
Release files / provium_dispatch-0.2.0.tar.gz
| Download URL | provium_dispatch-0.2.0.tar.gz |
|---|---|
| Size | 46.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11e3e3ca396107e901b0c678f08ced0573b7c5e6911402ecc560263f28c06987
|
|
BLAKE2b-256 checksum How to use checksums |
a42e8465aad89eaebf81244adf6b93a73d82aa48776763b7ab280da941f11970
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / provium_dispatch-0.2.0-py3-none-any.whl
| Download URL | provium_dispatch-0.2.0-py3-none-any.whl |
|---|---|
| Size | 36.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf763a8fddd7df18eab99991d81ac84bf67bc0a20640211e33bac4c2ea37bba6
|
|
BLAKE2b-256 checksum How to use checksums |
17e561b393d2151695cd2236eaa7f6fae415f3b0a424ce56b99f1aaef8d90467
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logSecurity for provium-dispatch 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for provium_dispatch-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.