Skip to content

Commit

Permalink
version bump to 0.9.0, update README (Benchmark, Contributors), CHANG…
Browse files Browse the repository at this point in the history
…ELOG
  • Loading branch information
astanin committed Oct 6, 2022
1 parent fd0a34c commit bf58e37
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 16 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG
@@ -1,4 +1,13 @@
- 0.8.11: Future version. Drop support for Python 2.7, 3.5, 3.6. New formats. Improve column width options.
- 0.9.1: Future version.
- 0.9.0: Drop support for Python 2.7, 3.5, 3.6.
Migrate to pyproject.toml project layout (PEP 621).
New output formats: `asciidoc`, various `*grid` and `*outline` formats.
New output features: vertical row alignment, separating lines.
New input format: list of dataclasses (Python 3.7 or later).
Support infinite iterables as row indices.
Improve column width options.
Improve support for ANSI escape sequences and document the behavior.
Various bug fixes.
- 0.8.10: Python 3.10 support. Bug fixes. Column width parameter.
- 0.8.9: Bug fix. Revert support of decimal separators.
- 0.8.8: Python 3.9 support, 3.10 ready.
Expand Down
32 changes: 18 additions & 14 deletions README.md
Expand Up @@ -86,7 +86,7 @@ The following tabular data types are supported:
- NumPy record arrays (names as columns)
- pandas.DataFrame

Examples in this file use Python2. Tabulate supports Python3 too.
Tabulate is a Python3 library.

### Headers

Expand Down Expand Up @@ -1025,19 +1025,19 @@ At the same time, `tabulate` is comparable to other table
pretty-printers. Given a 10x10 table (a list of lists) of mixed text and
numeric data, `tabulate` appears to be slower than `asciitable`, and
faster than `PrettyTable` and `texttable` The following mini-benchmark
was run in Python 3.8.2 in Ubuntu 20.04:
was run in Python 3.9.13 on Windows 10:

================================== ========== ===========
Table formatter time, μs rel. time
================================== ========== ===========
csv to StringIO 9.0 1.0
join with tabs and newlines 10.7 1.2
asciitable (0.8.0) 174.6 19.4
tabulate (0.8.10) 385.0 42.8
tabulate (0.8.10, WIDE_CHARS_MODE) 509.1 56.5
PrettyTable (3.3.0) 827.7 91.9
texttable (1.6.4) 952.1 105.7
================================== ========== ===========
================================= ========== ===========
Table formatter time, μs rel. time
================================= ========== ===========
csv to StringIO 12.5 1.0
join with tabs and newlines 14.6 1.2
asciitable (0.8.0) 192.0 15.4
tabulate (0.9.0) 483.5 38.7
tabulate (0.9.0, WIDE_CHARS_MODE) 637.6 51.1
PrettyTable (3.4.1) 1080.6 86.6
texttable (1.6.4) 1390.3 111.4
================================= ========== ===========


Version history
Expand Down Expand Up @@ -1120,4 +1120,8 @@ endolith, Dominic Davis-Foster, pavlocat, Daniel Aslau, paulc,
Felix Yan, Shane Loretz, Frank Busse, Harsh Singh, Derek Weitzel,
Vladimir Vrzić, 서승우 (chrd5273), Georgy Frolov, Christian Cwienk,
Bart Broere, Vilhelm Prytz, Alexander Gažo, Hugo van Kemenade,
jamescooke, Matt Warner, Jérôme Provensal.
jamescooke, Matt Warner, Jérôme Provensal, Kevin Deldycke,
Kian-Meng Ang, Kevin Patterson, Shodhan Save, cleoold, KOLANICH,
Vijaya Krishna Kasula, Furcy Pin, Christian Fibich, Shaun Duncan,
Dimitri Papadopoulos.

2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -3,7 +3,7 @@
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
#
# To run tests against numpy and pandas, run "tox -e py27-extra,py33-extra"
# To run tests against numpy and pandas, run "tox -e py39-extra,py310-extra"
# from this directory. This will create a much bigger virtual environments
# for testing and it is disabled by default.

Expand Down

0 comments on commit bf58e37

Please sign in to comment.