tksheet 7.4.14__tar.gz → 7.4.15__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tksheet-7.4.14/tksheet.egg-info → tksheet-7.4.15}/PKG-INFO +3 -2
- {tksheet-7.4.14 → tksheet-7.4.15}/pyproject.toml +1 -1
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet/__init__.py +1 -1
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet/main_table.py +9 -9
- {tksheet-7.4.14 → tksheet-7.4.15/tksheet.egg-info}/PKG-INFO +3 -2
- {tksheet-7.4.14 → tksheet-7.4.15}/LICENSE.txt +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/README.md +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/setup.cfg +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet/colors.py +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet/column_headers.py +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet/constants.py +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet/find_window.py +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet/formatters.py +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet/functions.py +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet/other_classes.py +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet/row_index.py +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet/sheet.py +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet/sheet_options.py +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet/sorting.py +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet/text_editor.py +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet/themes.py +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet/tksheet_types.py +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet/top_left_rectangle.py +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet.egg-info/SOURCES.txt +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet.egg-info/dependency_links.txt +0 -0
- {tksheet-7.4.14 → tksheet-7.4.15}/tksheet.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: tksheet
|
3
|
-
Version: 7.4.
|
3
|
+
Version: 7.4.15
|
4
4
|
Summary: Tkinter table / sheet and treeview widget
|
5
5
|
Author-email: ragardner <github@ragardner.simplelogin.com>
|
6
6
|
License: Copyright (c) 2019 ragardner and open source contributors
|
@@ -42,6 +42,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
42
42
|
Requires-Python: >=3.8
|
43
43
|
Description-Content-Type: text/markdown
|
44
44
|
License-File: LICENSE.txt
|
45
|
+
Dynamic: license-file
|
45
46
|
|
46
47
|
<p align="center" width="100%">
|
47
48
|
<img width="45%" src="https://github.com/user-attachments/assets/4afc1783-6461-4b98-93cb-b2a2a7f35169" alt="tksheet table">
|
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
|
|
6
6
|
name = "tksheet"
|
7
7
|
description = "Tkinter table / sheet and treeview widget"
|
8
8
|
readme = "README.md"
|
9
|
-
version = "7.4.
|
9
|
+
version = "7.4.15"
|
10
10
|
authors = [{ name = "ragardner", email = "github@ragardner.simplelogin.com" }]
|
11
11
|
requires-python = ">=3.8"
|
12
12
|
license = {file = "LICENSE.txt"}
|
@@ -1212,16 +1212,16 @@ class MainTable(tk.Canvas):
|
|
1212
1212
|
lastbox_numrows = lastbox_r2 - lastbox_r1
|
1213
1213
|
lastbox_numcols = lastbox_c2 - lastbox_c1
|
1214
1214
|
if lastbox_numrows > new_data_numrows and not lastbox_numrows % new_data_numrows:
|
1215
|
-
|
1216
|
-
for _ in range(
|
1217
|
-
|
1218
|
-
|
1219
|
-
new_data_numrows *= int(lastbox_numrows / new_data_numrows)
|
1215
|
+
repeat_num = int(lastbox_numrows / new_data_numrows)
|
1216
|
+
data.extend(chain.from_iterable([r.copy() for r in data] for _ in range(repeat_num - 1)))
|
1217
|
+
new_data_numrows *= repeat_num
|
1218
|
+
|
1220
1219
|
if lastbox_numcols > new_data_numcols and not lastbox_numcols % new_data_numcols:
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1220
|
+
repeat_num = int(lastbox_numcols / new_data_numcols)
|
1221
|
+
for rn, row in enumerate(data):
|
1222
|
+
copies = [row.copy() for _ in range(repeat_num - 1)]
|
1223
|
+
data[rn].extend(chain.from_iterable(copies))
|
1224
|
+
new_data_numcols *= repeat_num
|
1225
1225
|
added_rows = 0
|
1226
1226
|
added_cols = 0
|
1227
1227
|
total_data_cols = None
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: tksheet
|
3
|
-
Version: 7.4.
|
3
|
+
Version: 7.4.15
|
4
4
|
Summary: Tkinter table / sheet and treeview widget
|
5
5
|
Author-email: ragardner <github@ragardner.simplelogin.com>
|
6
6
|
License: Copyright (c) 2019 ragardner and open source contributors
|
@@ -42,6 +42,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
42
42
|
Requires-Python: >=3.8
|
43
43
|
Description-Content-Type: text/markdown
|
44
44
|
License-File: LICENSE.txt
|
45
|
+
Dynamic: license-file
|
45
46
|
|
46
47
|
<p align="center" width="100%">
|
47
48
|
<img width="45%" src="https://github.com/user-attachments/assets/4afc1783-6461-4b98-93cb-b2a2a7f35169" alt="tksheet table">
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|