semvec/pypi-packages huggingface dataset:
py-tabler 0.1.1
A very simple tabular data formatter for console application.
License: MIT
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*

# Tabler

A very simple tabular data formatter for console application.

## Installation

```shell
pip install py-tabler
```

## Example

```python
from tabler import Tabler


table = Tabler(
    data=[
        [1, 2, 3],
        [4, 5, 6],
    ],
    columns=["col1", "col2", "col3"],
)

print(table.format())
```

**Output**

```text
+------+------+------+
| col1 | col2 | col3 |
+------+------+------+
| 1    | 2    | 3    |
| 4    | 5    | 6    |
+------+------+------+
```