Niru Maheswaranathan
5cfa62253f
Using metadata.py to manage version number and other metadata
2017-05-25 11:40:22 -07:00
Niru Maheswaranathan
cb7c1d27f4
Fixes ANSI escape in headers
2017-05-18 01:23:23 -07:00
Niru Maheswaranathan
69d4409c79
Switching from nose to pytest
2016-10-09 13:38:20 -07:00
Niru Maheswaranathan
91275284e0
Adds unicode encoding strings back to python files
2016-10-07 13:17:38 -07:00
Niru Maheswaranathan
b4be7b2f14
Bumping version
2016-10-07 11:51:07 -07:00
Niru Maheswaranathan
a587f4adbd
Renamed DEFAULT_STYLES to styles
2016-10-07 11:44:43 -07:00
Niru Maheswaranathan
92571fb94e
Properly handles ANSI escape sequences in table rows
2016-09-29 14:50:40 -07:00
Niru Maheswaranathan
6c8079b325
Updates setup.py
2016-05-03 23:23:01 -07:00
Niru Maheswaranathan
a45197cc10
Bumping version
2016-05-03 23:18:54 -07:00
Niru Maheswaranathan
5a513f375f
Makes the message length the minimum width in banner()
2016-05-03 23:17:49 -07:00
Niru Maheswaranathan
78b918c4f4
Adds a 'block' style
2016-05-03 19:25:40 -07:00
Niru Maheswaranathan
10a5044e6b
Bumping version
2016-05-03 17:35:38 -07:00
Niru Maheswaranathan
cadf2eb8d8
Adds round style, sets that as the default
2016-05-03 16:38:30 -07:00
Niru Maheswaranathan
061d149fbf
Adds UTF-8 source code encodings to .py files (see PEP263)
2016-05-03 09:10:59 -07:00
Niru Maheswaranathan
0c518018a9
Adds support for custom table styles
...
- Defines a few tablestyles which specify the different box characters
to use
- Modifies the table, header, and hr functions to take a key that is the
name of one of these styles (instead of fixed characters)
- Renames frame to dataframe
- Adds some helper functions (top, bottom, and banner) for printing just
the top or bottom row, or a banner with a given message, using a
styled table
2016-05-02 19:00:31 -07:00
Niru Maheswaranathan
20db6dca49
Unicode string support in python2 via future.unicode_literals
2016-05-02 14:42:13 -07:00
Niru Maheswaranathan
3a26ed43e0
Adds unicode box characters
2016-05-02 14:31:05 -07:00
Niru Maheswaranathan
33d02461bb
Better python2 compatibility (six.string_types)
2016-05-02 14:20:15 -07:00
Niru Maheswaranathan
cbd02a4941
fixed bug where extra hr's were printed
2015-12-01 12:59:48 -08:00
Niru Maheswaranathan
c93f2c95f5
adds option to add hr to header() calls
2015-11-23 21:19:49 -05:00
Niru Maheswaranathan
0adb0d8a2d
fixed hrtime/humantime bug
2015-10-02 18:30:33 -07:00
Niru Maheswaranathan
695eba1fa1
bump version
2015-10-02 10:33:18 -07:00
Niru Maheswaranathan
571128b741
soften numpy requirement
2015-10-02 10:32:13 -07:00
Niru Maheswaranathan
7ca03c0fd6
Adds makefile, bumps version to 0.1.5
2015-10-01 10:16:00 -07:00
Niru Maheswaranathan
4138afff5a
updates docs
2015-10-01 00:48:11 -07:00
Niru Maheswaranathan
ce0949e3f5
Changing default spec from 2f to 5g
2015-09-29 18:14:05 -07:00
Niru Maheswaranathan
57ff47a196
changing precision to format_spec, adding hrtime function
2015-09-28 14:17:19 -07:00
Niru Maheswaranathan
f98a19762c
Python2 support by importing future print statement
2015-09-03 10:43:40 -07:00
Niru Maheswaranathan
e00bbb8c7e
Removed README.md dependency in setup.py
2015-07-28 13:37:30 -07:00
Niru Maheswaranathan
477f71a6ec
added frame() helper function to print a pandas DataFrame
2015-02-26 12:29:55 -08:00
Niru Maheswaranathan
c6f5dbe4f3
fixed bug where empty tables printed out two footer hrules
2015-02-24 19:37:02 -08:00
Niru Maheswaranathan
168d209159
removed outer_char option for hr(), uses corner_char instead
2015-02-24 16:12:00 -08:00
Niru Maheswaranathan
6376010a2f
initial commit, functions to print table (and generate header and row ASCII strings)
2015-02-24 12:16:46 -08:00