Add ability to annotate datasets using the dtool CLI
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file dtool-annotation-0.1.1.tar.gz
.
File metadata
- Download URL: dtool-annotation-0.1.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6533c4572534f31bd9ea371e898cd88e79db946f86c1c017268187ee79c8ff33 |
|
MD5 | 338b8e21cd344d2198b623a124401fae |
|
BLAKE2b-256 | 95abea0ab8d2b7ef1ad9bb1149176780a423f7250a0c44bda35e71ad2c676dbe |