diff --git a/README.md b/README.md index 44ad54e..455307c 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ pip install tableprint ``` ## Usage -The `tableprint.table()` function takes in a matrix of data, a list of headers, and an optional dictionary of parameters. To print a dataset consisting of 10 rows of 3 different columns: +The `tableprint.table` function takes in a matrix of data, a list of headers, and an optional dictionary of parameters. To print a dataset consisting of 10 rows of 3 different columns: ```python import tableprint import numpy as np @@ -25,10 +25,13 @@ headers = ['Column A', 'Column B', 'Column C'] tableprint.table(data, headers) ``` +The `header` and `row` functions allow you to print just the header or just a row of data, respectively, which is useful for continuously updating a table during a long-running computation. + ## Dependencies - Python 2.7 or 3.3+ ## Version +- 0.1.4 (Sept 28 2015) Added human readable string converter (hrtime) - 0.1.0 (Feb 24 2015) Initial release ## License diff --git a/setup.py b/setup.py index 11935fc..91499c0 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( # Versions should comply with PEP440. For a discussion on single-sourcing # the version across setup.py and the project code, see # https://packaging.python.org/en/latest/single_source_version.html - version='0.1.3', + version='0.1.4', description='Pretty ASCII printing of tabular data', long_description='''Formatted ASCII printing of tabular data''', @@ -43,6 +43,7 @@ setup( 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', ], # What does your project relate to?