Skip to content

Commit

Permalink
v1.6.3365
Browse files Browse the repository at this point in the history
  • Loading branch information
gdraheim committed Sep 15, 2024
1 parent 53051c7 commit 9d878f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions tabxlsx.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ faster than openpyx1 for small datasets. For large datasets it is 3-4x faster.
| 100000 numbers openpyxl write xlsx time | 00'09.300701
| 1.000.000 numbers tabxlsx write xlsx time | 00'27.265536
| 1.000.000 numbers openpyxl write xlsx time | 01'31.813367
| 1.000.000 numbers read xls and write json | 00'41.019995
| 1.000.000 numbers read xlsx and write json | 00'55.683582


Have fun!

Expand Down
2 changes: 1 addition & 1 deletion tabxlsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
If the input contains only one table then it is used, otherwise specify which should be printed."""

__copyright__ = "(C) 2023-2024 Guido Draheim, licensed under the Apache License 2.0"""
__version__ = "1.6.3361"
__version__ = "1.6.3365"

from typing import Union, List, Dict, cast, Tuple, Optional, TextIO, Iterable, NamedTuple, Mapping, TypeVar, Generic, Iterator
from collections import OrderedDict
Expand Down
6 changes: 3 additions & 3 deletions tabxlsx.tests.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /usr/bin/env python3

__copyright__ = "(C) 2017-2024 Guido Draheim, licensed under the Apache License 2.0"""
__version__ = "1.6.3361"
__version__ = "1.6.3365"

from tabxlsx import tabtotext, print_tabtotext, print_tablist, CellValue, StrToTime, StrToDate
from tabxlsx import tabtoXLSX, tablistfileXLSX, tablistfile, tablistmap, tablistfor
Expand Down Expand Up @@ -2642,9 +2642,9 @@ def test_9888(self) -> None:
tabs: List[TabSheet] = []
for sheet in range(5):
rows: JSONList = []
for row in range(BIGFILE//10):
for row in range(BIGFILE // 10):
num = sheet * BIGFILE + row
vals: JSONDict = {"a": num, "b": BIGFILE+num}
vals: JSONDict = {"a": num, "b": BIGFILE + num}
rows.append(vals)
title = "data%i" % sheet
tabs.append(TabSheet(rows, [], title))
Expand Down

0 comments on commit 9d878f2

Please sign in to comment.