provium-pipeline
Provenance-addressed procedure graphs with local execution, PostgreSQL queues, filesystem/S3 artifact storage, reusable process workers, and completion callbacks.
python -m pip install -e packages/provium -e packages/provium-pipeline
provium-pipeline run -f pipeline.yaml --input document=/data/document.pa --store ./artifacts
Inputs must already be Provium artifacts. Install the procedure catalogs referenced
by the graph. The same command is available as provium pipeline.
kind: PipelineConfiguration
name: tokenize-documents
nodes:
tokenize:
procedure: provium_text_pipeline_example.TokenizeV1
tags: [text]
inputs:
source: $inputs.document
outputs:
tokens: $nodes.tokenize.destination
The example procedure is provided by examples/provium-text-pipeline.
Compute profiles are separate YAML documents. Default execution uses one child
process; only one configured node is resident per context.
export PROVIUM_DATABASE_URL=postgresql://localhost/provium
provium-pipeline register -f pipeline.yaml -f profiles.yaml
provium-pipeline enqueue tokenize-documents --input document=/data/document.pa
provium-pipeline run tokenize-documents --profile cluster --store s3://bucket/artifacts
provium-pipeline status tokenize-documents --outputs
Repeated equivalent computations reuse verified results. PostgreSQL leases coordinate shared computation across pipelines. Force replaces results through an atomic accepted result reference while retaining immutable artifact versions for existing readers.
See the repository's usage examples for definitions, profiles, selectors, Python callbacks, time limits, and deployment.
Development
python -m pip install -e 'packages/provium[test]' -e 'packages/provium-pipeline[test]' \
-e examples/provium-text-pipeline
python -m pytest packages/provium-pipeline/test
ruff check packages/provium-pipeline
ruff format --check packages/provium-pipeline
pyright --project packages/provium-pipeline/pyproject.toml
For PostgreSQL and S3 integration tests:
docker run -d --name provium-pipeline-postgres \
-e POSTGRES_PASSWORD=provium -e POSTGRES_DB=provium \
-p 127.0.0.1:55432:5432 postgres:17
docker run -d --name provium-pipeline-localstack \
-e SERVICES=s3 -p 127.0.0.1:54566:4566 localstack/localstack:4
export PROVIUM_TEST_DATABASE=postgresql://postgres:provium@localhost:55432/provium
export PROVIUM_TEST_S3=1 AWS_ENDPOINT_URL_S3=http://localhost:54566
export AWS_ACCESS_KEY_ID=test AWS_SECRET_ACCESS_KEY=test AWS_DEFAULT_REGION=us-east-1
python -m pytest packages/provium-pipeline/test
Integration tests create unique records and buckets. Use a disposable test database. Slurm/AWS Batch deployment uses the same CLI with externally allocated resources; those scheduler services are not required for local integration tests.
Metadata
Release files for provium-pipeline 1.0.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 | |
|---|---|---|---|
| provium_pipeline-1.0.0.tar.gz | 39.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| provium_pipeline-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 66.7 kB
Release files / provium_pipeline-1.0.0.tar.gz
| Download URL | provium_pipeline-1.0.0.tar.gz |
|---|---|
| Size | 39.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6016f730808a03426ad90847654b832140724d2e6388396f1ec2f1f9e4d0b1ca
|
|
BLAKE2b-256 checksum How to use checksums |
9060a9d6c83a39a91cd9b7f62b2f5d15b3a88da9c31f6cfb6f22c1508c03dad9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 16, 2026.
Transparency logRelease files / provium_pipeline-1.0.0-py3-none-any.whl
| Download URL | provium_pipeline-1.0.0-py3-none-any.whl |
|---|---|
| Size | 26.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9fef998b6afac979db0f7438b3b4ea737a337cd80940bb465c99ea6c1d54d78d
|
|
BLAKE2b-256 checksum How to use checksums |
28ec364a98ce0b4f852dbc9f4ccfc50d0e3237b2aedabfc79174373d0439935d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 16, 2026.
Transparency log