Registry / ai-ml / valohai-papi

valohai-papi

JSON →
library0.1.3pypypi✓ verified 80d ago

Experimental imperative Valohai pipeline API for building and executing machine learning pipelines. Current version 0.1.3, requires Python >=3.6.1, <4.0.0. This library is in early development with frequent breaking changes.

pip install valohai-papi
INSTALL
IMPORT
SIG · VALOHAI-PAPI
V
valohai-papi
ai-mlpythonv0.1.3
Install
2.9s avg
Import
Disk
23MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.1.3 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 24.5MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.9s · import 0.000s · 25MB
23MB installed
● package 23MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Papi
from papi import Papi
from valohai.papi import pipeline
Pipeline
from papi import Pipeline
Step
from papi import Step

Define and run a simple Valohai pipeline using the decorator.

from valohai.papi import pipeline @pipeline def my_pipeline(message: str) -> None: print(f"Hello {message}") if __name__ == "__main__": my_pipeline(message="world")
Debug
Known issues
breakingThe API is experimental and subject to breaking changes between minor versions. Do not rely on internal modules or undocumented functions.
fix
Pin to exact version and test after upgrades.
affects: all
gotchaThe import path is `valohai.papi`, not `papi` or `valohai_papi`. The package name on PyPI uses hyphens, but Python modules use dots.
fix
Use `from valohai.papi import pipeline`.
affects: all
deprecatedThe `@pipeline` decorator may change or be replaced as the API evolves. Check documentation for the latest approach.
fix
Monitor the GitHub repository for deprecation notices.
affects: 0.1.0 - 0.1.3
Upgrade
Version history
0.1.3latest on PyPI · released Jul 8, 2021
Audit
Dependencies

No dependency data recorded yet.

Agent activity
52 hits · last 30 days
node
44
OpenAI (training)
1
Resources
valohai-papi — pip install valohai-papi · libregistry