Use the command line tool oml
or openml
to interact with the official API of OpenML.
pip install openml-cli
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
oml config set apikey <your_apikey>
oml dataset search mnist
oml dataset show 40996
oml dataset download 40996 --to ~/Downloads
The module is Open Source Software released under the MIT license.