From c0ce08c5d71a283861fdb9e5e50e1daf4c1456ed Mon Sep 17 00:00:00 2001 From: Niru Maheswaranathan Date: Thu, 25 May 2017 15:09:56 -0700 Subject: [PATCH 1/2] fixing unicode 2.7 :bug: --- tableprint/metadata.py | 2 +- tableprint/style.py | 1 + tableprint/utils.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tableprint/metadata.py b/tableprint/metadata.py index c745d13..a0a705b 100644 --- a/tableprint/metadata.py +++ b/tableprint/metadata.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Version info -__version__ = '0.6.8' +__version__ = '0.6.9' __license__ = 'MIT' # Project description(s) diff --git a/tableprint/style.py b/tableprint/style.py index 162295e..35dc92d 100644 --- a/tableprint/style.py +++ b/tableprint/style.py @@ -2,6 +2,7 @@ """ Table styles """ +from __future__ import print_function, unicode_literals from collections import namedtuple __all__ = ('STYLES', 'LineStyle', 'TableStyle') diff --git a/tableprint/utils.py b/tableprint/utils.py index 4efe295..9dd4e1d 100644 --- a/tableprint/utils.py +++ b/tableprint/utils.py @@ -2,6 +2,7 @@ """ Tableprint utilities """ +from __future__ import print_function, unicode_literals import re import numpy as np From cdcdf87d8e7778bb463a66c6b40f1d822b4f8ae8 Mon Sep 17 00:00:00 2001 From: Niru Maheswaranathan Date: Thu, 25 May 2017 15:10:56 -0700 Subject: [PATCH 2/2] Updates README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 265bf72..749b16d 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ Hosted at Read The Docs: [tableprint.readthedocs.org](http://tableprint.readthed - `six` ## Version +- 0.6.9 (May 25 2017) Splitting the tableprint.py module into a pacakge with multiple files - 0.6.7 (May 25 2017) Fixes some bugs with ANSI escape sequences - 0.5.0 (Sept 29 2016) Better handling of ANSI escape sequences in table rows - 0.4.0 (May 3 2016) Adds a 'block' style