8000 GitHub - Tari-dev/tableascii: A lightweight, simple Python library to create clean ASCII Table.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tari-dev/tableascii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

MIT

About

A lightweight, simple Python library to create clean ASCII Table.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0