An open API service indexing awesome lists of open source software.

https://github.com/nok/openml-cli

Use the command line tool `openml` to interact with the official API of OpenML.
https://github.com/nok/openml-cli

cli datasets openml openscience

Last synced: 11 months ago
JSON representation

Use the command line tool `openml` to interact with the official API of OpenML.

Awesome Lists containing this project

README

          

# openml-cli

[![PyPI](https://img.shields.io/pypi/v/openml-cli.svg)](https://pypi.python.org/pypi/openml-cli)
[![PyPI](https://img.shields.io/pypi/pyversions/openml-cli.svg)](https://pypi.python.org/pypi/openml-cli)
[![License](https://img.shields.io/pypi/l/openml-cli.svg?v=0.1.0#)](https://raw.githubusercontent.com/nok/openml-cli/master/license.txt)
[![Twitter](https://img.shields.io/twitter/follow/darius_morawiec.svg?label=follow&style=popout)](https://twitter.com/darius_morawiec)

Use the command line tool `oml` or `openml` to interact with the official [API](https://openml.github.io/OpenML/REST-API/) of [OpenML](https://www.openml.org).

## Installation

```bash
pip install openml-cli
```

## Usage

oml config {view, set, unset}

Description: View or change your configuration.

Subcommands:

```bash
oml config view
oml config set
oml config unset
```

Examples:

```bash
oml config set apikey
```

oml dataset {search, show, download, list}

Description: Search, filter or download datasets.

Subcommands:

```bash
oml dataset search
oml dataset show
oml dataset show --json
oml dataset show --browser
oml dataset download
oml dataset list
oml dataset list --limit --offset
oml dataset list --limit --offset --json
```

Search and download a specific dataset:

```bash
oml dataset search mnist
oml dataset show 40996
oml dataset download 40996 --to ~/Downloads
```

## Example

```bash
oml config set apikey
oml dataset search mnist
oml dataset show 40996
oml dataset download 40996 --to ~/Downloads
```

## License

The module is Open Source Software released under the [MIT](license.txt) license.