Skip to main content

Reproducible Open Benchmarks - Command Line Client

Project description

https://img.shields.io/badge/License-MIT-yellow.svg
ROB Command Line Interface

About

The Reproducible Benchmark Client is the command line user interface for the Reproducible Open Benchmarks for Data Analysis Platform (ROB). The command line interface interacts with a ROB Web API to create, access, and manipulate users, benchmark submissions and benchmark runs.

Installation and Configuration

The following installation instructions assume that you install all packages in a local folder ~/projects/rob.

# -- Change the working directory

cd ~/projects/rob

The Reproducible Open Benchmarks platform is implemented in Python. We recommend using a virtual environment for the installation.

# -- Create a new virtual environment
virtualenv venv
# -- Activate the virtual environment
source venv/bin/activate

The ROB Client requires the flowserv package as well as a Web API Server. The following steps will install the ROB client and all required packages:

git clone git@github.com:scailfin/flowserv-core.git
pip install -e rob-core
git clone git@github.com:scailfin/rob-client.git
pip install -e rob-client

The primary configuration parameters are defined in the ROB Configuration documentation. In particular, the environment variables FLOWSERV_API_HOST, FLOWSERV_API_PORT, and FLOWSERV_API_PATH are used to define the base URL for the API that is used for client requests. Three additional environment variables are defined by the client:

  • ROB_ACCESS_TOKEN: Access token for the user obtained after authentication

  • ROB_BENCHMARK: Identifier of the default benchmark

  • ROB_SUBMISSION: Identifier of the default submission

Command Line Interface

To get an overview of the commands that are available via the command line interface use rob --help.

Usage: rob [OPTIONS] COMMAND [ARGS]...

Options:
  --raw   Show raw (JSON) response
  --help  Show this message and exit.

Commands:
  benchmarks   Add and remove benchmarks.
  files        Upload, download, list and delete submission files.
  login        Login to to obtain access token.
  logout       Logout from current user session.
  pwd          Reset user password.
  register     Register a new user.
  runs         Create, query and delete submission runs.
  submissions  Create, modify, query and delete benchmark submissions.
  users        List all registered users.
  whoami       Print name of current user.

For more detailed examples of how to use the ROB Client please have a look at the documentation in the demo repositories Hello World Demo and Number Predictor Demo.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rob-client-0.2.0.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

rob_client-0.2.0-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file rob-client-0.2.0.tar.gz.

File metadata

  • Download URL: rob-client-0.2.0.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for rob-client-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6a76cad9d622d630023b536e5a7be0e637e3f905b553e64f16e874b9014e0199
MD5 4d9f1fb21202a7402076703f58f21f7c
BLAKE2b-256 465ac9f570cdfe017334f8dfbd09d2e9512b58a8b0a51321dc5f683424bb2a66

See more details on using hashes here.

File details

Details for the file rob_client-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: rob_client-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for rob_client-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de39094bb716724da5cd4f29535e4699b84308cf4eb34ac12984d1237b93d3d0
MD5 6a6d44e93895236e8f01edcdb58c00fb
BLAKE2b-256 44336e1ae185e443e452b210ac6492085c9cae13648566cd85500386bb273f66

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page