Skip to main content

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
inputs:
  document: provium_text_pipeline_example.DocumentV1
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 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for provium-pipeline 2.0.0
File Size Uploaded Provenance Actions
provium_pipeline-2.0.0.tar.gz 44.9 kB With provenance Details for provium_pipeline-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for provium-pipeline 2.0.0
File Interpreter ABI Platform Actions
provium_pipeline-2.0.0-py3-none-any.whl Python 3 none any Details for provium_pipeline-2.0.0-py3-none-any.whl

Total release size: 73.1 kB

Release files / provium_pipeline-2.0.0.tar.gz

Download URL provium_pipeline-2.0.0.tar.gz
Size 44.9 kB
Tags Source
SHA-256 checksum
How to use checksums
85dd32109b73092cd4eca6ed9ab8a30a717ae6f32917ad52db78fecc9543c143
BLAKE2b-256 checksum
How to use checksums
23eec87ecbec21eaec77fe8a3b07d6b7eb4e8885ecee57375e39bb2a7747183a
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

Release files / provium_pipeline-2.0.0-py3-none-any.whl

Download URL provium_pipeline-2.0.0-py3-none-any.whl
Size 28.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
621cee1d81e865ca1d93ef2354cc97cd91a279951dbe47206e63bf532da3a09e
BLAKE2b-256 checksum
How to use checksums
1e7cf2c09bb08eac16df933d74510422cc7c5d2d4d214910aba28757a0179b29
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

Security for provium-pipeline 2.0.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.

Select from 2 files

Attestation for provium_pipeline-2.0.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 16, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page