Skip to main content

Home Page: https://github.com/mitnk/asciicells

Install

$ pip install asciicells

High level usages

After installed, an executable asciicells would available for use. If not, please replace following examples with python -m asciicells.

$ asciicells -f demo.csv

+-----+---------+-----------+
| No. | sample  | name      |
|     |         |           |
| 1   | a,b,c   | lettes    |
|     |         |           |
| 2   | + - x / | operators |
+-----+---------+-----------+

With header:

$ asciicells -f demo.csv -H

+-----+---------+-----------+
| No. | sample  | name      |
+-----+---------+-----------+
| 1   | a,b,c   | lettes    |
|     |         |           |
| 2   | + - x / | operators |
+-----+---------+-----------+

Also support TSV: asciicells -f demo.tsv -t -H

Low level usages

>>> import asciicells
>>> ac = asciicells.AsciiCells()
>>> L = [['a', 'b'], ['1', '2']]
>>> print(ac.render(L))
+---+---+
| a | b |
|   |   |
| 1 | 2 |
+---+---+

More information: https://github.com/mitnk/asciicells

Metadata

Release files for asciicells 0.9.2

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

Source distribution (sdist)

Source distribution for asciicells 0.9.2
File Size Uploaded
asciicells-0.9.2.tar.gz 3.9 kB Details

Release files / asciicells-0.9.2.tar.gz

Download URL asciicells-0.9.2.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
dd2244f4c87498464817a3556cfe7db3b42bc5e4d8a93d218e693340d92cbb6a
BLAKE2b-256 checksum
How to use checksums
3c1a0ca7776b321a9a313a6d27dd15163da3575a790b45d3f611e39c3d1e73d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.9.2 This release

1 release file

0.9.1

1 release file

0.9.0

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