No project description provided
Project description
du2html
du2html is a tool to generate human-readable html report from du (disk usage in linux and macos) result.
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
Print standard output
du2html -p ./duresults -o du_result.html
Version History
- 0.1.0 (2022-04-12)
- first released.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
du2html-0.0.1.tar.gz
(14.6 kB
view hashes)
Built Distribution
du2html-0.0.1-py3-none-any.whl
(17.9 kB
view hashes)