valohai-papi
Experimental imperative Valohai pipeline API
What it is and what it does
Papi is an experimental Python library for declaring Valohai pipelines using imperative syntax rather than declarative configuration. It wraps the Valohai platform's pipeline concepts into a programmatic API, letting you define machine learning workflows directly in Python code. The package depends on valohai-yaml for configuration handling and dataclasses for data structure support.
The library is explicitly marked as experimental and subject to API changes. Documentation is minimal—the primary reference is the papi_examples directory in the repository. The package has been maintained in an active state but has not received updates since mid-2021, suggesting either stability or dormancy depending on adoption.
Use it for:
- Define Valohai ML pipelines programmatically in Python instead of writing YAML configuration files.
- Integrate pipeline declaration into Python-based ML workflows for version control and code review.
- Experiment with imperative pipeline APIs as part of Valohai's technical validation process.
- Build dynamic pipelines where structure is determined at runtime based on Python logic.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Papi provides an imperative Python API for declaring Valohai machine learning pipelines, allowing you to define pipeline workflows programmatically instead of through configuration files.
Yes, if you are actively using Valohai and prefer imperative Python over YAML configuration. The low install friction and permissive license make it a low-risk experiment. However, be aware that the API is explicitly experimental, documentation is sparse, and the package has not been updated since 2021—suitable for technical exploration or established Valohai users, but not for production systems requiring stability guarantees.
Install
valohai-papi on PyPI
pip
pip install valohai-papiuv
uv add valohai-papipoetry
poetry add valohai-papiInstalling valohai-papi
Before you install
Low install friction with only two runtime dependencies (valohai-yaml and dataclasses). Repository remains active with recent commits, though the package itself has not been updated since 2021-07-08.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.
Quickstart
pip install valohai-papi
from valohai_papi import Pipeline
# See papi_examples directory in repository for usage examples
Requires Python >=3.6.1,<4.0.0; documentation is minimal and examples are in the repository's papi_examples directory rather than in published docs.
Verify before relying
- Whether the experimental API has stabilized or remains subject to breaking changes since 2021.
- Current state of unimplemented features mentioned in the package description.
- Active user base and production readiness beyond technical validation.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.6.1,<4.0.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — valohai-yaml, dataclasses |
| Maintenance | actively maintained — 1,863 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 82,808/month — #14,133 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: valohai_papi-0.1.3-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
valohai-yamlParses and validates valohai.yaml configuration…
permissive · top 15,000 on PyPI
azureml-pipeline-coreProvides core pipeline infrastructure for Azure…
unclear · top 15,000 on PyPI
valohai-utilsHelper library for integrating Python code with…
permissive · top 15,000 on PyPI
kfp-pipeline-specProvides the pipeline specification and…
permissive · top 5,000 on PyPI
azure-ml-componentAuthoring, managing, and submitting Azure…
unclear · top 15,000 on PyPI
kfp-server-apiProvides Python client bindings for the…
permissive · top 5,000 on PyPI
azureml-pipeline-stepsDefines step types for building computation…
unclear · top 15,000 on PyPI
azureml-pipelineBuilds, optimizes, and manages machine learning…
unclear · top 15,000 on PyPI
koheesioKoheesio is a Python framework for building…
permissive · top 15,000 on PyPI
kfpKubeflow Pipelines is a Python SDK for…
permissive · top 5,000 on PyPI