A lightweight, simple Python library to create clean ASCII Table.
Project description
Tableascii
A simple, lightweight, no-dependency Python library to create clean ASCII Table.
Installation
Install from pypi
pip install tableascii
Or directly from Github
pip install git+https://github.com/Tari-dev/tableascii.git
Usage Example
from tableascii import Table
data = [
["Name", "Age"],
["Alice", 30],
["Bob", 25]
]
tb = Table(data)
print(tb.create())
+-------------+
| Name | Age |
|-------------|
| Alice | 30 |
| Bob | 25 |
+-------------+
Features
- Pure ASCII output
- Simple and Lightweight
- No dependencies
- Automatically adjusts column width
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tableascii-0.1.0.tar.gz
(3.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tableascii-0.1.0.tar.gz.
File metadata
- Download URL: tableascii-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6992dcb943288ddd56bb6dbc5878f2c15f8bdff27a96d10ffacaf6ba2e56cb5d
|
|
| MD5 |
85e51cde8d46b32d507b37f86b6cf500
|
|
| BLAKE2b-256 |
b3b4154ba738b5f3ce2ff9aa4e84e6f2da7fb51f6497eb1bf6905ab5dd4be11c
|
File details
Details for the file tableascii-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tableascii-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d42b04aae1803ee07eacc8aa815df0150a77d1255ac4d3acdbbbd5970fe04895
|
|
| MD5 |
e6e38c508fbbd9a2b6f5578391407450
|
|
| BLAKE2b-256 |
b6479e32a6b7a61742cade6c01a91620334f57c27bd7b6bbb89a728fb08b0087
|