Metadata-Version: 2.1
Name: du2html
Version: 0.0.1
Summary: UNKNOWN
Home-page: https://github.com/danielmsk/du2html
Author: Daniel Minseok Kwon
Author-email: daniel.minseok.kwon@gmail.com
License: MIT
Description: # du2html
        
        **du2html** is a tool to generate human-readable html report from du (disk usage in linux and macos) result.
        
        [<img src="https://img.shields.io/pypi/v/du2html.svg">](https://pypi.org/project/du2html/)
        [<img src="https://img.shields.io/pypi/dm/du2html.svg">](https://pypi.org/project/du2html/)
        
        ## Installation
        
        * from pypi
        ```
        pip install du2html
        ```
        
        * from github
        ```
        pip install https://github.com/danielmsk/du2html/raw/main/dist/du2html-0.0.1-py3-none-any.whl
        ```
        
        ### Dependency
        This **du2html** requires the following packages:
        
        * rich
        * pyreadr
        * prettytable
        * pandas
        * pytabix
        
        ## Options
        ```
        optional arguments:
          -h, --help            show this help message and exit
          
          -v, --version         show program's version number and exit
          
          -i, --in              search. terms (ex: age smoking)
                                -s age
                                -s age smoking
                                -s 'smok*'
                                -s '*age' 'smok*'
                                
          -l, --logic           logical operator for multiple terms [or(default), and]
                                -s '*age' 'smok*' -l and
                                -s age 'smok*' -l or
          
          -o, --out             title of output file
                                -o searchresult_20220322
          
          -t, --outtype         output type [console(default), csv, udi]
                                -t csv
                                -t console csv
                                -t udi
                                -t console udi
          
          -p, --path            directory path for data files (.html, .Rdata) (default: /data2/UKbiobank/ukb_phenotype)
                                -p /other/path/for/ukb/html/.
          
          -u, --udilist         FileID and UDI list for saving data from tcf files
                                -u ukb39003 3536-0.0 3536-1.0 3536-2.0
          
          -d, --savedata        save data from .Rdata [csv, rdata]
                                -d csv
                                -d rdata
                                -d csv rdata
                                
          -i, --index
                                index tab file and make tcf file (ex. ukb39003.tab)
        ```
        
        
        
        
        ## Usage
        
        ### Make HTML report
        ```
        du2html -i du_result.txt -t 32t
        ```
        ![](https://raw.githubusercontent.com/danielmsk/ukbsearch/main/docs/screenshot1.png?token=GHSAT0AAAAAABSGIZOM3KNUUTFMR4HLUQHMYRZRPCQ)
        
        
        ### Print standard output
        ```
        du2html -p ./duresults -o du_result.html
        ```
        
        ## Version History
        * 0.1.0 (2022-04-12)
        	* first released.
        
Keywords: linux,disk usage
Platform: UNKNOWN
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
