Metadata-Version: 2.1
Name: dnres-cli
Version: 0.20
Summary: Command line interface for dnres package.
Home-page: UNKNOWN
Author: Dimitrios Kioroglou
Author-email: <d.kioroglou@hotmail.com>
License: UNKNOWN
Keywords: python,data analysis,bioinformatics,reporting,analysis results
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown
License-File: LICENSE


# dnres-cli

Command line utility to be used along with [dnres](https://github.com/DKioroglou/dnres) python package.

# Usage

## Parse config

```console
$ dnres config.ini
```

## Print contents of stored/tagged data

```console
$ dnres config.ini cat --help 
```

For files, the following filetypes are supported for printing:  

* `.csv` 
* `.tsv` 
* `.xls` 
* `.xlsx`

For python objects, the following classes are supported: 

* `dict` 
* `list` 
* `tuple` 
* `set` 
* `str`

If filetype or class is not supported, the filepath of the stored data gets printed.

## Print absolute filepath of stored/tagged data

```console
$ dnres config.ini ls --help
```

## Other commands

The following `dnres` methods are exposed as cli commands: 

* `info`
* `tag`
* `remove-from-db`
* `remove-tag`

Information on these commands/methods can be found [here](https://dnres.readthedocs.io/en/latest/source/dnres.html).  
To get help on these commands run:  

```console
$ dnres config.ini COMMAND --help
```

## Installation

```
pip install dnres-cli
```

## License

BSD 3


