Provium
Provium records how typed artifacts were produced, including their procedure, input values, artifact dependencies, and execution identity.
Requires Python 3.12 or newer:
python -m pip install provium
# Optional S3 access:
python -m pip install 'provium[s3]'
Typed procedure inputs
Declare inputs on a ProcedureInputs class inside a procedure contract:
from provium import (
FilePath,
ProcedureContract,
ProcedureInputs,
input_field,
multi_input_field,
)
class ImportContract(ProcedureContract[None]):
class Inputs(ProcedureInputs):
source = input_field(FilePath)
skip_rows = input_field(int)
scale = input_field(float, optional=True)
extra_sources = multi_input_field(
FilePath, optional=True, minimum=2, maximum=5,
)
Procedure callbacks receive FilePath, int, float | None, and
tuple[FilePath, ...], with those types preserved for editors and type checkers.
Artifact definitions also work with both input helpers and yield typed read
bindings. Outputs use output(ARTIFACT_DEFINITION) or optional_output(...).
- Single fields require one value unless
optional=True. - Multi-value fields default to at least one value and no upper bound.
optional=True, minimum=2accepts zero values or at least two values.- Integer inputs reject floats and booleans; floats accept finite numbers.
FilePathaccepts bare local paths,file://URLs, ands3://bucket/key. Construction performs no file access.register_input_typesupplies typed decoding and JSON encoding for custom types.
Use ProcedureExecutor.execute() for one invocation or prepare() for reusable
setup state. Value inputs are snapshotted before callbacks and retained in output
provenance without becoming artifact dependency edges. The existing artifact
helpers input, optional_input, and repeated_input remain supported.
These value and multi-value features are currently for direct core execution. Pipelines and dispatch accept single artifact fields, optionally absent.
Guides and reference
- Getting started
- Artifacts
- Procedure implementations, execution, and custom codecs
- Command-line tools
- Core API reference
For dynamic artifact workflows without a declared contract, use
ImperativeProcedure. For shared settings, subclass ProcedureConfig.
Application configuration and procedure inputs are separate APIs.
Development
From the repository root:
python3 -m venv .venv
source .venv/bin/activate
make install
make check
make docs
Core checks include Ruff, Pyright, and 100% statement and branch coverage. See the repository README for pipeline and dispatch integration tests.
License
MIT.
Metadata
Release files for provium 0.13.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-0.13.0.tar.gz | 63.4 kB | With provenance | Details for provium-0.13.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| provium-0.13.0-py3-none-any.whl | Python 3 | none | any | Details for provium-0.13.0-py3-none-any.whl |
Total release size: 147.3 kB
Release files / provium-0.13.0.tar.gz
| Download URL | provium-0.13.0.tar.gz |
|---|---|
| Size | 63.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ddd3871acc56074feae4be6f0dde8ad18a808b804dcb6df3dad8a072ac348fd8
|
|
BLAKE2b-256 checksum How to use checksums |
a534b1f77b6059bc882f61bfcb44025aa1f994d4627c72b12636b81544cf77cb
|
| 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 Nov 21, 2026.
Transparency logRelease files / provium-0.13.0-py3-none-any.whl
| Download URL | provium-0.13.0-py3-none-any.whl |
|---|---|
| Size | 83.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d107b429d50f801b049a9fb7fdb2932dc968a4e55a45ab58e09a8e4308b4553f
|
|
BLAKE2b-256 checksum How to use checksums |
6220199f1bb7f44acc35e433f55bf3aaea3d8d2dbf1c4347bab1d60bcff9cdee
|
| 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 Nov 21, 2026.
Transparency logSecurity for provium 0.13.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-0.13.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 Nov 21, 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.