Simple Ascii Tables
A simple, minimal and dependency-free python package for generating ascii tables.
It's a simplified fork of terminaltables.
Why another fork?
Terminal Tables was a super cool project. It's no more maintained sadly. There are some forks but they're too much complex for a basic usage. There is also Rich library which is awesome but it's bloated for a simple ascii table with no dependencies.
Installation
pip install simple-ascii-tables
Usage
from simple_ascii_tables import AsciiTable
table_data = [
["Name", "Age", "Country"],
["Alice", 24, "Canada"],
["Bob", 19, "USA"],
["Charlie", 30, "Australia"],
]
table = AsciiTable(table_data)
table.title = "User Information"
print(table.table)
Output:
+User Information-----------+
| Name | Age | Country |
+---------+-----+-----------+
| Alice | 24 | Canada |
| Bob | 19 | USA |
| Charlie | 30 | Australia |
+---------+-----+-----------+
Metadata
Release files for simple-ascii-tables 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simple_ascii_tables-1.0.1.tar.gz | 9.5 kB | Without provenance | Details for simple_ascii_tables-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| simple_ascii_tables-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for simple_ascii_tables-1.0.1-py3-none-any.whl |
Total release size: 20.6 kB
Release files / simple_ascii_tables-1.0.1.tar.gz
| Download URL | simple_ascii_tables-1.0.1.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33a0d8f31f562084b614091d7c8f70897d23a03806796765039254984efe383a
|
|
BLAKE2b-256 checksum How to use checksums |
885685f6f883beadf95b7c77d521b6c3849936ca057d6fdafdd9379a3f6ab41d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.13.1 Linux/6.12.4-400.asahi.fc41.aarch64+16k
|
Release files / simple_ascii_tables-1.0.1-py3-none-any.whl
| Download URL | simple_ascii_tables-1.0.1-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b67941c6e6262900b288700afae6eabaac16b1899a30e5f00cb203ff5aecfe11
|
|
BLAKE2b-256 checksum How to use checksums |
593b5152b2dd6e2b0be9945f554078b5329bf89b526fe70e9be15b879c2f7b91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.13.1 Linux/6.12.4-400.asahi.fc41.aarch64+16k
|
Security for simple-ascii-tables 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.