asciicells 0.9.2

Last updated:

0 purchases

asciicells 0.9.2 Image
asciicells 0.9.2 Images
Add to Cart

Description:

asciicells 0.9.2

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

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.