cooltables-0.0.3
توضیحات
A tool for easily making text tables in terminal from python lists.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cooltables-0.0.3 |
| نام | cooltables |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | dnorhoj |
| ایمیل نویسنده | daniel.norhoj@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/cooltables/ |
| مجوز | GPLv3 |
# CoolTables
Simple tool for making tables, no requirements. Check out example.py
## Usage
The best way to get started is by using the `cooltables.create_table()` function.
```py
import cooltables
# Some two dimensional list
data = [
["First", "Row", "(header)"],
["Second", "Row", "data"],
["Third", "Row", "data"],
]
table = cooltables.create_table(data, theme=cooltables.THIN_THEME)
print(table)
```
This code produces the following output:
```
┌────────┬─────┬──────────┐
│ First │ Row │ (header) │
├────────┼─────┼──────────┤
│ Second │ Row │ data │
│ Third │ Row │ data │
└────────┴─────┴──────────┘
```
نحوه نصب
نصب پکیج whl cooltables-0.0.3:
pip install cooltables-0.0.3.whl
نصب پکیج tar.gz cooltables-0.0.3:
pip install cooltables-0.0.3.tar.gz