tksheet 7.3.0__py3-none-any.whl → 7.3.2__py3-none-any.whl
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/__init__.py +2 -2
- tksheet/column_headers.py +41 -40
- tksheet/find_window.py +251 -0
- tksheet/formatters.py +1 -1
- tksheet/functions.py +80 -50
- tksheet/main_table.py +531 -286
- tksheet/other_classes.py +6 -9
- tksheet/row_index.py +43 -40
- tksheet/sheet.py +165 -75
- tksheet/sheet_options.py +30 -1
- tksheet/text_editor.py +1 -1
- tksheet/top_left_rectangle.py +1 -1
- tksheet/types.py +8 -0
- {tksheet-7.3.0.dist-info → tksheet-7.3.2.dist-info}/METADATA +10 -11
- tksheet-7.3.2.dist-info/RECORD +21 -0
- {tksheet-7.3.0.dist-info → tksheet-7.3.2.dist-info}/WHEEL +1 -1
- tksheet-7.3.0.dist-info/RECORD +0 -20
- /tksheet/{vars.py → constants.py} +0 -0
- {tksheet-7.3.0.dist-info → tksheet-7.3.2.dist-info}/LICENSE.txt +0 -0
- {tksheet-7.3.0.dist-info → tksheet-7.3.2.dist-info}/top_level.txt +0 -0
tksheet/sheet_options.py
CHANGED
@@ -7,7 +7,7 @@ from .other_classes import (
|
|
7
7
|
from .themes import (
|
8
8
|
theme_light_blue,
|
9
9
|
)
|
10
|
-
from .
|
10
|
+
from .constants import (
|
11
11
|
USER_OS,
|
12
12
|
ctrl_key,
|
13
13
|
)
|
@@ -103,6 +103,20 @@ def new_sheet_options() -> DotDict:
|
|
103
103
|
"select_all_bindings": [
|
104
104
|
f"<{ctrl_key}-a>",
|
105
105
|
f"<{ctrl_key}-A>",
|
106
|
+
f"<{ctrl_key}-Shift-space>",
|
107
|
+
],
|
108
|
+
"select_columns_bindings": [
|
109
|
+
"<Control-space>",
|
110
|
+
],
|
111
|
+
"select_rows_bindings": [
|
112
|
+
"<Shift-space>",
|
113
|
+
],
|
114
|
+
"row_start_bindings": [
|
115
|
+
"<Command-Left>",
|
116
|
+
"<Home>",
|
117
|
+
],
|
118
|
+
"table_start_bindings": [
|
119
|
+
f"<{ctrl_key}-Home>",
|
106
120
|
],
|
107
121
|
"tab_bindings": [
|
108
122
|
"<Tab>",
|
@@ -137,6 +151,21 @@ def new_sheet_options() -> DotDict:
|
|
137
151
|
"next_bindings": [
|
138
152
|
"<Next>",
|
139
153
|
],
|
154
|
+
"find_bindings": [
|
155
|
+
f"<{ctrl_key}-f>",
|
156
|
+
f"<{ctrl_key}-F>",
|
157
|
+
],
|
158
|
+
"find_next_bindings": [
|
159
|
+
f"<{ctrl_key}-g>",
|
160
|
+
f"<{ctrl_key}-G>",
|
161
|
+
],
|
162
|
+
"find_previous_bindings": [
|
163
|
+
f"<{ctrl_key}-Shift-g>",
|
164
|
+
f"<{ctrl_key}-Shift-G>",
|
165
|
+
],
|
166
|
+
"escape_bindings": [
|
167
|
+
"<Escape>",
|
168
|
+
],
|
140
169
|
"vertical_scroll_borderwidth": 1,
|
141
170
|
"horizontal_scroll_borderwidth": 1,
|
142
171
|
"vertical_scroll_gripcount": 0,
|
tksheet/text_editor.py
CHANGED
tksheet/top_left_rectangle.py
CHANGED
tksheet/types.py
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
|
3
|
+
from collections.abc import (
|
4
|
+
Iterable,
|
5
|
+
Iterator,
|
6
|
+
)
|
1
7
|
from typing import Tuple, Union
|
2
8
|
|
3
9
|
from .other_classes import (
|
@@ -15,3 +21,5 @@ CreateSpanTypes = Union[
|
|
15
21
|
Tuple[int, None, int, None, int, None, int, None],
|
16
22
|
Span,
|
17
23
|
]
|
24
|
+
|
25
|
+
AnyIter = Iterable | Iterator
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: tksheet
|
3
|
-
Version: 7.3.
|
3
|
+
Version: 7.3.2
|
4
4
|
Summary: Tkinter table / sheet widget
|
5
5
|
Author-email: ragardner <github@ragardner.simplelogin.com>
|
6
6
|
License: Copyright (c) 2019 ragardner and open source contributors
|
@@ -95,22 +95,21 @@ This library is maintained with the help of **[others](https://github.com/ragard
|
|
95
95
|
|
96
96
|
## **Features**
|
97
97
|
|
98
|
-
-
|
99
|
-
-
|
100
|
-
- Runs smoothly even with millions of rows/columns
|
101
|
-
- Edit cells directly
|
98
|
+
- Smoothly display and modify tabular data
|
99
|
+
- [Edit cells directly](https://github.com/ragardner/tksheet/wiki/Version-7#table-functionality-and-bindings)
|
102
100
|
- Cell values can potentially be [any class](https://github.com/ragardner/tksheet/wiki/Version-7#data-formatting), the default is any class with a `__str__` method
|
103
|
-
- Drag and drop columns and rows
|
101
|
+
- [Drag and drop columns and rows](https://github.com/ragardner/tksheet/wiki/Version-7#table-functionality-and-bindings)
|
104
102
|
- Multiple line header and index cells
|
105
|
-
- Expand row heights and column widths
|
106
|
-
- Change fonts and font size (not for individual cells)
|
107
|
-
- Change any colors in the sheet
|
103
|
+
- [Expand row heights and column widths](https://github.com/ragardner/tksheet/wiki/Version-7#table-functionality-and-bindings)
|
104
|
+
- [Change fonts and font size (not for individual cells)](https://github.com/ragardner/tksheet/wiki/Version-7#text-font-and-alignment)
|
105
|
+
- [Change any colors in the sheet](https://github.com/ragardner/tksheet/wiki/Version-7#sheet-appearance)
|
108
106
|
- [Treeview mode](https://github.com/ragardner/tksheet/wiki/Version-7#treeview-mode)
|
109
107
|
- [Dropdown boxes](https://github.com/ragardner/tksheet/wiki/Version-7#dropdown-boxes)
|
110
108
|
- [Check boxes](https://github.com/ragardner/tksheet/wiki/Version-7#check-boxes)
|
111
109
|
- [Progress bars](https://github.com/ragardner/tksheet/wiki/Version-7#progress-bars)
|
112
110
|
- [Hide rows and/or columns](https://github.com/ragardner/tksheet/wiki/Version-7#example-header-dropdown-boxes-and-row-filtering)
|
113
|
-
- Left `"w"`, Center `"center"` or Right `"e"` text alignment for any cell/row/column
|
111
|
+
- [Left `"w"`, Center `"center"` or Right `"e"` text alignment for any cell/row/column](https://github.com/ragardner/tksheet/wiki/Version-7#text-font-and-alignment)
|
112
|
+
- [Optional built-in find window](https://github.com/ragardner/tksheet/wiki/Version-7#table-functionality-and-bindings)
|
114
113
|
|
115
114
|
```python
|
116
115
|
"""
|
@@ -0,0 +1,21 @@
|
|
1
|
+
tksheet/__init__.py,sha256=1ZoTWRUdDNSNa3GjjA9Az9qBjSytv6wJBf4PJ-2jFt8,2241
|
2
|
+
tksheet/colors.py,sha256=1k06VorynLmnC4FdJg8H4reIA6rXaeXBpdMwXLhN8oc,51594
|
3
|
+
tksheet/column_headers.py,sha256=JoNtGsepsEho_uJq5K-yhKrO-z0qTGt4yWYE4J7Wz5w,102212
|
4
|
+
tksheet/constants.py,sha256=-NWaHEEpcQ0YHn4yGDf8SSffjceiEOayGqnEYw6VwPM,3507
|
5
|
+
tksheet/find_window.py,sha256=PcFPHLBLIeydqDTXCZwdCUAnipmA0i35oIyV3G0NnT0,8085
|
6
|
+
tksheet/formatters.py,sha256=21ZkMaDIJNUtjvtlAbPl8Y19I9nDxue-JJegw6hblz8,10551
|
7
|
+
tksheet/functions.py,sha256=4qNYIPFjQuFN4aRgtPC8X817trK-6AueCeLZIaoq0fY,43764
|
8
|
+
tksheet/main_table.py,sha256=q8icx9-et9sibDxvgyw4p9fg85IpE0Jiwcpp1jwgzTI,344885
|
9
|
+
tksheet/other_classes.py,sha256=wKSd30orLNIdlo9YV1nbyFy1HO8-kaey0wPUbstX5Tk,16411
|
10
|
+
tksheet/row_index.py,sha256=bduDpX2uiqH3oQWzDdKUIgOeF7LdT0ta8bHapxe6Rx0,111127
|
11
|
+
tksheet/sheet.py,sha256=gr4b7Gc5bnrHU7kcqRvti52auMCLdnXqYz8jP873rfo,290494
|
12
|
+
tksheet/sheet_options.py,sha256=zpTWAA_Sk0OaGvcxDVY5OyD8uRMWML1PLQr9eE07ztU,7899
|
13
|
+
tksheet/text_editor.py,sha256=3hVz8YKxf3-hZdVALjvlcaXkip-ZRANj7LyXfPxroXs,7454
|
14
|
+
tksheet/themes.py,sha256=AoNAxibnQi04MN0Zpbn9-kyDnkiiV8TDNWP9FYjpuf0,18473
|
15
|
+
tksheet/top_left_rectangle.py,sha256=KhTT-rBUwQTgaHjSwL83cL5_71k2L1B7gxkSxZlTSK8,8598
|
16
|
+
tksheet/types.py,sha256=4NIFPmq64g1vcbApWzLJrOZ8xhcRcOh2wCAzdn5LS2w,475
|
17
|
+
tksheet-7.3.2.dist-info/LICENSE.txt,sha256=ndbcCPe9SlHfweE_W2RAueWUe2k7yudyxYLq6WjFdn4,1101
|
18
|
+
tksheet-7.3.2.dist-info/METADATA,sha256=IAO8J3h-kQ8ZrwwvO3o9b9W6D7mKlZkGvbb5czrqfYg,7781
|
19
|
+
tksheet-7.3.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
20
|
+
tksheet-7.3.2.dist-info/top_level.txt,sha256=my61PXCcck_HHAc9cq3NAlyAr3A3FXxCy9gptEOaCN8,8
|
21
|
+
tksheet-7.3.2.dist-info/RECORD,,
|
tksheet-7.3.0.dist-info/RECORD
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
tksheet/__init__.py,sha256=og5YQbRL0wYfgixmKn9svO5aBxbujfvRhBsWlhmOtVs,2236
|
2
|
-
tksheet/colors.py,sha256=1k06VorynLmnC4FdJg8H4reIA6rXaeXBpdMwXLhN8oc,51594
|
3
|
-
tksheet/column_headers.py,sha256=qNDoJoERLKs9hG9rVgclIk-HAZkmJ6Y6qwvdlCa2-l8,102502
|
4
|
-
tksheet/formatters.py,sha256=_exO2KnjtcnE_MVWLG1ngOZ-wmrXZhuh7uEi2iPs1Tk,10546
|
5
|
-
tksheet/functions.py,sha256=v9_YH1-6cQ-tixl-P2ZR0bGNOsOa6FyYMwBsAl1YLrQ,43224
|
6
|
-
tksheet/main_table.py,sha256=6rhc4RtK4s8Mh5bhq_hyVlX56l-1B7a2D1WWd3nfacI,334819
|
7
|
-
tksheet/other_classes.py,sha256=cYcu8TYgGdsJ6ZGG51AQFVrzj7Lu0LwAn62V7iUh_mc,16488
|
8
|
-
tksheet/row_index.py,sha256=oe71E_Y3nj5dhbRTw5DhYDgqxPlL0mGYmaZaMu8AP5w,111295
|
9
|
-
tksheet/sheet.py,sha256=vMsZdciGrNvg0xcDaVAbadlHhCDj_XAy3HgXIz63FPw,288653
|
10
|
-
tksheet/sheet_options.py,sha256=j2e0ij8Pf9ey85GKuMXoCDMkFGJVcDk3t_NNVlBGbuI,6991
|
11
|
-
tksheet/text_editor.py,sha256=zrBdURBFNBbnl8GmZ4vQMFZ3UmvAvfBZ7KSJi_WtrNI,7449
|
12
|
-
tksheet/themes.py,sha256=AoNAxibnQi04MN0Zpbn9-kyDnkiiV8TDNWP9FYjpuf0,18473
|
13
|
-
tksheet/top_left_rectangle.py,sha256=0vzhYK7oGe9M_v7mlxFLh595XuXuXDOjooCDuR5sqnM,8593
|
14
|
-
tksheet/types.py,sha256=IgoEHMbceKpakcZtanxKaKJ4RdCq7UW6EoEIIz5O59k,340
|
15
|
-
tksheet/vars.py,sha256=-NWaHEEpcQ0YHn4yGDf8SSffjceiEOayGqnEYw6VwPM,3507
|
16
|
-
tksheet-7.3.0.dist-info/LICENSE.txt,sha256=ndbcCPe9SlHfweE_W2RAueWUe2k7yudyxYLq6WjFdn4,1101
|
17
|
-
tksheet-7.3.0.dist-info/METADATA,sha256=Fheob3WhJC4xXiBM01uelrZdxT0pVu-p_t6JQmziReI,7282
|
18
|
-
tksheet-7.3.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
19
|
-
tksheet-7.3.0.dist-info/top_level.txt,sha256=my61PXCcck_HHAc9cq3NAlyAr3A3FXxCy9gptEOaCN8,8
|
20
|
-
tksheet-7.3.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|