/tabalisr

Turn csv into ascii tables. Deprecated in favour of https://github.com/andytom/toolkit

Primary LanguagePythonOtherNOASSERTION

Tabalisr

Turn csv into ascii tables.

Deprecated in favour of toolkit

About

A simple app for converting csv files into a nicely formatted ascii table.

The first row is assumed to be the header.

Example Input

foo,bar,baz
1,2,3
4,5,6

Example Output

+-----+-----+-----+
| foo | bar | baz |
+-----+-----+-----+
| 1   | 2   | 3   |
| 4   | 5   | 6   |
+-----+-----+-----+

Usage

A list of requirements can be found in the requirements.txt file.

You should change the SECRET_KEY in the main.cfg file to be something more secure.

A development server can be started by running "python run_dev_server.py".

Tests can be run by running "python tests.py".

TODO

  • Write better Tests