datar-ai / cli

RiseML command line client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RiseML Command Line Client

Build Status

This is the command-line client for RiseML, which allows you to run and manage experiments.

Installation

The latest version can be downloaded and installed as a single binary by executing the following command:

bash -c "$(curl -fsSL https://get.riseml.com/install-cli)"

Follow the script's instructions and add ~/.riseml/bin to your PATH if you're not installing it globally.

To download RiseML manually (e.g., because you need a specific version), follow our detailed installation instructions.

See our release notes for a list of recent changes and how to upgrade from previous versions.

Development

The client is written for Python3.

Follow these steps to create a virtual environment with the client:

virtualenv venv -p python3
source ./venv/bin/activate
git clone https://github.com/riseml/client
pip install -e client
pip install -r client/requirements.txt

The client will be available via riseml-dev in the virtual environment!

Build a standalone bundle

git clone https://github.com/riseml/client
cd client
virtualenv env && source env/bin/activate
pip install -r requirements.txt pyinstaller
pyinstaller riseml.spec

Configuration

The client stores its configuration in the file $HOME/.riseml/config. The syntax is similar to the kubeconfig file of kubectl.

About

RiseML command line client

License:MIT License


Languages

Language:Python 84.1%Language:HTML 15.4%Language:Shell 0.5%