معرفی شرکت ها


clitbl-0.0.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

csv files printer
ویژگی مقدار
سیستم عامل -
نام فایل clitbl-0.0.1
نام clitbl
نسخه کتابخانه 0.0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Ron Serruya
ایمیل نویسنده ron.serruya@gmail.com
آدرس صفحه اصلی https://github.com/ronserruya/tbl
آدرس اینترنتی https://pypi.org/project/clitbl/
مجوز -
# tbl - `cat` for csv files `tbl` lets you print out csv files to your terminal, formatted and "prettified". A lot of the hard work is done with the [rapidtables](https://github.com/alttch/rapidtables) package, check it out! cat | tbl -------------------------|------------------------- ![](docs_content/cat.png) | ![](docs_content/rstgrid.png) Check out this recorded example: [![asciicast](https://asciinema.org/a/268740.png)](https://asciinema.org/a/268740) ## Requirements * Python 3.4+ ## Installation ```shell pip install --user clitbl ``` ## Usage options Use ```tbl -h / tbl --help``` to see help. * The most common use it to just print the table ```shell tbl file.csv ``` * `--headers` The headers options lets you explicitly specify the headers for the table. Use this option when you csv files does not include headers, (e.g [exampleFile](example_csv/no_headers.csv) ```shell tbl file.csv --headers '#Index#Item#Cost#Tax#Total' ``` * `--select` The select options lets you select what columns to print (similar to SQL SELECT) ```shell tbl file.csv --select '#Item#Tax' ``` :exclamation: Both `headers` and `select` use the first charcter as a separator, it can be any character (kinda like a `sed` expressions) :exclamation: The headers specified with this option are case-sensitive :star2: The `headers` and `select` headers can be used together * `--format` (defualt: rstgrid) The format options lets you specify the format used when printing the table. The available formats are: | rstgrid | rst | md | simple | |-------|-------|-----------|-------| |![](docs_content/rstgrid.png)|![](docs_content/rst.png)|![](docs_content/md.png)|![](docs_content/simple.png)| ## Restrictions There are several cases `tbl` does not support: * Duplicated headers, all headers must be distinct * Very long headers, while tbl can wrap long paragraph of text in a cell, it cannot wrap text in the headers, which may lead to disfigured output :exclamation: This is not the use case for tbl anyway, but dont try to print huge tables (several GBs), as tbl (and rapidtable) read the entire table to memory before printing \* Example csv were downloaded from [here](https://people.sc.fsu.edu/~jburkardt/data/csv/csv.html)


نیازمندی

مقدار نام
==0.1.7 rapidtables
==7 click


زبان مورد نیاز

مقدار نام
>=3.4 Python


نحوه نصب


نصب پکیج whl clitbl-0.0.1:

    pip install clitbl-0.0.1.whl


نصب پکیج tar.gz clitbl-0.0.1:

    pip install clitbl-0.0.1.tar.gz