Skip to main content

Tabler

A very simple tabular data formatter for console application.

Installation

pip install py-tabler

Example

from tabler import Tabler


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

print(table.format())

Output

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

Metadata

Release files for py-tabler 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-tabler 0.1.1
File Size Uploaded
py-tabler-0.1.1.tar.gz 3.4 kB Details

Release files / py-tabler-0.1.1.tar.gz

Download URL py-tabler-0.1.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4a8a43dad37b2a24b1a0042bb4e467e7c7dc24b8d543e51d486cfd863fbc8daa
BLAKE2b-256 checksum
How to use checksums
d44386a7b4c30594e006b0147fd63fd5c1fb20edec378d7bd832d20ef2f51095
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page