{"id":28436,"library":"valohai-cli","title":"Valohai CLI","description":"A command-line client for Valohai, a machine learning platform. Current version 0.36.0. Enables local execution, pipeline management, and model catalog interactions. Requires Python >=3.10. Released irregularly with minor versions every few months.","status":"active","version":"0.36.0","language":"python","source_language":"en","source_url":"https://github.com/valohai/valohai-cli","tags":["valohai","cli","machine-learning","mlops"],"install":[{"cmd":"pip install valohai-cli","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Imports are typically not used; the package is a CLI tool. The Python package name is 'valohai_cli'.","wrong":"","symbol":"valohai_cli","correct":"import valohai_cli"}],"quickstart":{"code":"import os\nimport valohai_cli\nos.environ['VALOHAI_URL'] = os.environ.get('VALOHAI_URL', '')\nos.environ['VALOHAI_TOKEN'] = os.environ.get('VALOHAI_TOKEN', '')\nfrom valohai_cli import cli\ncli.main(['--help'])","lang":"python","description":"This is an illustrative import; the typical usage is via the 'vh' command-line tool. Run `vh --help` after installing."},"warnings":[{"fix":"Upgrade Python to 3.10 or later.","message":"v0.36.0 dropped support for Python < 3.10. Ensure your environment uses Python 3.10+.","severity":"breaking","affected_versions":">=0.36.0"},{"fix":"Use the new syntax as shown in `vh exec run --help`.","message":"The `vh exec run` command's `--parameter` and `--input` flags are being replaced by structured options. Old-style flags may be removed in future versions.","severity":"deprecated","affected_versions":">=0.33.0 <1.0"},{"fix":"Export VALOHAI_TOKEN or run `vh login`.","message":"API tokens must be set via environment variable `VALOHAI_TOKEN` or configured via `vh login`. The CLI does not read tokens from `.env` files automatically.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Run `pip install valohai-cli` in the correct environment.","cause":"Package not installed or wrong Python environment.","error":"ModuleNotFoundError: No module named 'valohai_cli'"},{"fix":"Use the new format: `--parameter key:type:value` or see `vh exec run --help`.","cause":"Using deprecated `--parameter key=value` syntax in newer versions.","error":"Error: Invalid value for '--parameter': ..."}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}