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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asciicells-0.9.2.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file asciicells-0.9.2.tar.gz.

File metadata

  • Download URL: asciicells-0.9.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for asciicells-0.9.2.tar.gz
Algorithm Hash digest
SHA256 dd2244f4c87498464817a3556cfe7db3b42bc5e4d8a93d218e693340d92cbb6a
MD5 951b6e8c521c9e1fe1db2287a552c196
BLAKE2b-256 3c1a0ca7776b321a9a313a6d27dd15163da3575a790b45d3f611e39c3d1e73d6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.9.2 This release

1 file

0.9.1

1 file

0.9.0

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page