Command line client for Valohai
Project description
Valohai Command Line Client
This is the command-line client for the Valohai machine learning IaaS platform.
Installation
valohai-cli
supports Python 3.6 and higher.
If you still need to run on Python 3.5, version 0.13.0 was the last one to support it.
System-wide or user-wide installation with pipx
The recommended way to install valohai-cli
system-wide is to use pipx
, an
utility to install and run Python applications in isolated environments.
(If you're familiar with Node.js's npx
tool, it's the same idea.)
This ensures that valohai-cli
's dependencies don't conflict with other Python packages.
Once you have installed and configured pipx
(see the link above), you can
$ pipx valohai-cli
and to upgrade it later on,
$ pipx upgrade valohai-cli
System-wide or user-wide installation with pip
You can also install valohai-cli
system-wide with pip
,
but this may cause conflicts with other Python packages installed
system-wide or user-wide.
$ pip3 install -U valohai-cli
The -U
flag ensures that any present version is upgraded, too.
Installation in a virtual environment
If you prefer to install valohai-cli
in a virtual environment, you can do so with pip
as well.
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -U valohai-cli
Getting Started
After you've installed the client, vh
should work and you should see a description
of commands.
See the tutorial document!
Developing
To work on the valohai-cli
code: pull the repository, create and activate a virtualenv, then run
pip install -e .
(The -e
stands for --editable
.)
This makes a new vh
command available in the virtualenv, but linked to the working copy's
source. That is, you can now edit the source under valohai_cli
in your working directory,
and try it out with vh
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for valohai_cli-0.22.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b75c5e618d4039aa12acebe9c73fa7915fcc201799fbc09e8bf107656eafef0c |
|
MD5 | 9c20272bd95877bd44caad5b66e8c0a7 |
|
BLAKE2b-256 | 2278a5be8bc561386ffa78a4f140b13d5d3c03e0a6778ff65feec6505accb96a |