semvec/pypi-packages huggingface dataset:
dnres-cli 0.20
Command line interface for dnres package.
Keywords: python,data analysis,bioinformatics,reporting,analysis results


# 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
django-kibrudashboard 1.1.0
Django dashboard
Keywords: python,kibru,django,django_kibrudashboard,django-kibru


# Django-kibru
Django kibru (kibruy Admin)


Installation

pip install django_kibrudashboard
 


Features
Search bar for any given model admin
Bootstrap 4 & AdminLTE UI components
Using the latest adminlte + bootstrap
Responsive


Screenshots

Login
<img width="430" alt="Login" src="https://user-images.githubusercontent.com/87245699/221366411-3170dc75-6c95-4016-86ea-233b2daf1307.png">
Dashboard 
<img width="957" alt="Dashboards" src="https://user-images.githubusercontent.com/87245699/221366429-c52dd816-272f-4c7b-b559-6db27edcce1a.png">
dnres 0.2.0
Managing and sharing data and results of analysis.
Keywords: python,data analysis,bioinformatics,reporting,analysis results


# dnres: data n results

[![Documentation Status](https://readthedocs.org/projects/pip/badge/?version=stable)](https://pip.pypa.io/en/stable/?badge=stable)

`dnres` is a python package for managing and sharing data and results generated from any type of data analysis. It is a tagging system that facilitates modular type of analysis by allowing easy tagging, storing and loading of python objects or files across different python scripts.

## Usage

### Configuration file

`dnres` requires a configuration file. In this file, two sections should be specified: **PATHS**, and **INFO**. In the section **PATHS** the keys **structure** and **database** are mandatory. In the section **INFO** the key **description** is mandatory.

Example of configuration file with filename `config.ini`:
```python
[PATHS]
structure = foo/bar
database = foo/foo/bar

[INFO]
description = "This is the description of the analysis related to the data and results."
```

The configuration file is passed as argument upon instantiation of the `DnRes`
```python
from dnres import DnRes

res = DnRes('config.ini')
```

### Storing and loading of python objects

Example of storing a list in analytical script `script_01.py` 

```python
from dnres import DnRes

res = DnRes('config.ini')

# Create some data
x = [1,2,3]

# Store data to use in another analytical script
res.store(data=x,
          tag='variousLists',
          path='dir1/mylist.pickle',
          description='List with three numbers.',
          source='script_01.py'
         )
```
Valid serializations are `json` or `pickle`. Serialization if taken from the extension of the path (`.json` or `.pickle`).


Example of loading stored data from `script_01.py` in `script_02.py`:

```python
from dnres import DnRes

res = DnRes('config.ini')

# Show available tagged data
print(res)

# Load tagged data
x = res.load('dir1/mylist.pickle')
```

### Tagging of files or directories

Tagging is only available for files or directories that are inside the `structure`.
Example of tagging a `.csv` file in analytical script `script_01.py`

```python
from dnres import DnRes

res = DnRes('config.ini')

filepath = 'dir1/foo.csv'
res.tag('someTag', filepath)
```

Load in `script_02.py` the `.csv` filepath that was tagged in `script_01.py`.

```python
from dnres import DnRes
import pandas as pd

res = DnRes('config.ini')

# load() method returns absolute filepath when stored data is not python object.
filepath = res.load('dir1/foo.csv')
df = pd.read_csv(filepath, sep='\t')
```

## Documentation

For complete package reference visit [dnres.readthedocs](https://dnres.readthedocs.io/en/latest/source/dnres.html).

## Installation

```bash
pip install dnres
```

## CLI utility

`dnres-cli` can be found [here](https://github.com/DKioroglou/dnres-cli).

## License

BSD 3