dtool CLI commands for working with per dataset metadata (annotations)
Installation
$ pip install dtool-annotation
Example usage
Get a dataset to play with:
$ LOCAL_DS_URI=$(dtool cp -q http://bit.ly/Ecoli-ref-genome .)
Add an annotation:
$ dtool annotation set $LOCAL_DS_URI project dtool-demo
Get an annotation:
$ dtool annotation get $LOCAL_DS_URI project dtool-demo
Add an annotation forcing a specific type:
$ dtool annotation set --type int $LOCAL_DS_URI stars 3
List all annotations:
$ dtool annotation ls project dtool-demo stars 3
For more information see the dtool documentation.