valohai-yaml
Valohai.yaml validation and parsing
What it is and what it does
valohai-yaml is a parser and validator for valohai.yaml files, the configuration format used to define machine learning workloads and pipelines in the Valohai ecosystem. It provides both programmatic and command-line interfaces to validate YAML structure and parse it into Python objects that expose pipeline steps, parameters, and other configuration details.
The package depends on jsonschema, leval, and pyyaml to perform schema validation and YAML parsing. It is actively maintained, supports Python 3.9 through 3.13, and carries no known security vulnerabilities. Use it when you need to validate or programmatically inspect valohai.yaml files as part of a Valohai-integrated ML workflow.
Use it for:
- Validate valohai.yaml files in CI/CD pipelines before submitting workloads to Valohai
- Programmatically inspect pipeline steps and commands from valohai.yaml in custom tooling
- Parse and extract configuration metadata from ML project definitions for automation or reporting
- Integrate valohai.yaml validation into local development workflows via the command-line tool
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Parses and validates valohai.yaml configuration files used to define machine learning workloads and pipelines on the Valohai platform.
Yes. If you use Valohai for ML workload orchestration, this package is essential for validating and parsing your configuration files. Low install friction, active maintenance, MIT license, no known vulnerabilities, and a straightforward API make it a reliable choice for both CI/CD integration and programmatic configuration inspection.
Install
valohai-yaml on PyPI
pip
pip install valohai-yamluv
uv add valohai-yamlpoetry
poetry add valohai-yamlInstalling valohai-yaml
Before you install
Low install friction with three lightweight runtime dependencies (jsonschema, leval, pyyaml). Active maintenance with a release 1 day old and commits current as of 2026-08-13.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both commercial and open-source projects.
Quickstart
pip install valohai-yaml
from valohai_yaml import validate, parse
with open('valohai.yaml') as f:
validate(f)
with open('valohai.yaml') as f:
config = parse(f)
print(config.steps['step_name'].command)
Verify before relying
- Whether the package handles all Valohai YAML schema versions or only current versions
- Performance characteristics when parsing large or complex pipeline definitions
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — jsonschema, leval, pyyaml |
| Maintenance | actively maintained — 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 137,192/month — #11,375 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: valohai_yaml-0.58.0-py3-none-any.whl
Keywords: strings, utility
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
valohai-papiPapi provides an imperative Python API for…
permissive · top 15,000 on PyPI
valohai-utilsHelper library for integrating Python code with…
permissive · top 15,000 on PyPI
annotatedyamlParses and validates YAML files with support…
permissive · top 15,000 on PyPI
azureml-pipeline-coreProvides core pipeline infrastructure for Azure…
unclear · top 15,000 on PyPI
yamaleYamale validates YAML files against a schema…
permissive · top 5,000 on PyPI
azureml-pipelineBuilds, optimizes, and manages machine learning…
unclear · top 15,000 on PyPI
azureml-pipeline-stepsDefines step types for building computation…
unclear · top 15,000 on PyPI
zenmlZenML is an MLOps orchestration platform that…
permissive · top 15,000 on PyPI
kfp-pipeline-specProvides the pipeline specification and…
permissive · top 5,000 on PyPI
clearmlClearML is an ML/DL development and production…
permissive · top 15,000 on PyPI