Metadata-Version: 2.5
Name: dtool-tag
Version: 0.1.2
Summary: Add ability to tag datasets using the dtool CLI
Project-URL: Repository, https://github.com/jic-dtool/dtool-tag
Author-email: Tjelvar Olsson <tjelvar.olsson@gmail.com>
License-Expression: MIT
License-File: LICENSE.rst
Requires-Python: >=3.10
Requires-Dist: click
Requires-Dist: dtool-cli>=0.7.2
Requires-Dist: dtoolcore>=3.17.0
Description-Content-Type: text/x-rst

dtool CLI commands for working with tags
========================================

.. image:: https://badge.fury.io/py/dtool-tag.svg
   :target: http://badge.fury.io/py/dtool-tag
   :alt: PyPi package

.. image:: https://github.com/jic-dtool/dtool-tag/actions/workflows/test.yml/badge.svg?branch=main
   :target: https://github.com/jic-dtool/dtool-tag/actions/workflows/test.yml
   :alt: Tests

.. image:: https://codecov.io/github/jic-dtool/dtool-tag/coverage.svg?branch=main
   :target: https://codecov.io/github/jic-dtool/dtool-tag?branch=main
   :alt: Code Coverage


Installation
------------

::

    $ pip install dtool-tag


Example usage
------------- 


Get a dataset to play with::

    $ LOCAL_DS_URI=$(dtool cp -q http://bit.ly/Ecoli-ref-genome .)


Add a couple of  tags::

    $ dtool tag set $LOCAL_DS_URI e.coli
    $ dtool tag set $LOCAL_DS_URI genome

List the dataset tags::

    $ dtool tag ls $LOCAL_DS_URI
    e.coli
    genome

Delete a tag::

    $ dtool tag delete $LOCAL_DS_URI genome

For more information see the `dtool documentation <https://dtool.readthedocs.io>`_.

Related packages
----------------

- `dtoolcore <https://github.com/jic-dtool/dtoolcore>`_
- `dtool-cli <https://github.com/jic-dtool/dtool-cli>`_
- `dtool-create <https://github.com/jic-dtool/dtool-create>`_
- `dtool-overlay <https://github.com/jic-dtool/dtool-overlay>`_
- `dtool-annotation <https://github.com/jic-dtool/dtool-annotation>`_
