dtool-annotation

Add ability to annotate datasets using the dtool CLI


License
MIT
Install
pip install dtool-annotation==0.1.1

Documentation

dtool CLI commands for working with per dataset metadata (annotations)

PyPi package Travis CI build status (Linux) Code Coverage

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.

Related packages