/openml-cli

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

Primary LanguagePythonMIT LicenseMIT

openml-cli

PyPI PyPI License Twitter

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

Installation

pip install openml-cli

Usage

oml config {view, set, unset}

Description: View or change your configuration.

Subcommands:

oml config view
oml config set <name> <value>
oml config unset <name>

Examples:

oml config set apikey <your_apikey>
oml dataset {search, show, download, list}

Description: Search, filter or download datasets.

Subcommands:

oml dataset search <term>
oml dataset show <id>
oml dataset show <id> --json
oml dataset show <id> --browser
oml dataset download <id>
oml dataset list
oml dataset list --limit <num> --offset <num>
oml dataset list --limit <num> --offset <num> --json

Search and download a specific dataset:

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

Example

oml config set apikey <your_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.