tksheet 7.3.4__tar.gz → 7.4.0__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.3.4/tksheet.egg-info → tksheet-7.4.0}/PKG-INFO +14 -14
- {tksheet-7.3.4 → tksheet-7.4.0}/README.md +11 -11
- {tksheet-7.3.4 → tksheet-7.4.0}/pyproject.toml +3 -3
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet/__init__.py +11 -11
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet/column_headers.py +328 -239
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet/constants.py +13 -0
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet/functions.py +194 -11
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet/main_table.py +926 -564
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet/other_classes.py +12 -8
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet/row_index.py +830 -259
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet/sheet.py +465 -589
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet/sheet_options.py +44 -1
- tksheet-7.4.0/tksheet/sorting.py +369 -0
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet/text_editor.py +2 -6
- tksheet-7.3.4/tksheet/types.py → tksheet-7.4.0/tksheet/tksheet_types.py +10 -1
- {tksheet-7.3.4 → tksheet-7.4.0/tksheet.egg-info}/PKG-INFO +14 -14
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet.egg-info/SOURCES.txt +2 -1
- {tksheet-7.3.4 → tksheet-7.4.0}/LICENSE.txt +0 -0
- {tksheet-7.3.4 → tksheet-7.4.0}/setup.cfg +0 -0
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet/colors.py +0 -0
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet/find_window.py +0 -0
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet/formatters.py +0 -0
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet/themes.py +0 -0
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet/top_left_rectangle.py +0 -0
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet.egg-info/dependency_links.txt +0 -0
- {tksheet-7.3.4 → tksheet-7.4.0}/tksheet.egg-info/top_level.txt +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: tksheet
|
3
|
-
Version: 7.
|
4
|
-
Summary: Tkinter table / sheet widget
|
3
|
+
Version: 7.4.0
|
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
|
7
7
|
|
@@ -26,7 +26,7 @@ License: Copyright (c) 2019 ragardner and open source contributors
|
|
26
26
|
Project-URL: Homepage, https://github.com/ragardner/tksheet
|
27
27
|
Project-URL: Bug Reports, https://github.com/ragardner/tksheet/issues
|
28
28
|
Project-URL: Funding, https://github.com/ragardner
|
29
|
-
Keywords: tkinter,table,widget,sheet,grid,tk
|
29
|
+
Keywords: tkinter,table,widget,tree,treeview,sheet,grid,tk
|
30
30
|
Classifier: Development Status :: 5 - Production/Stable
|
31
31
|
Classifier: Intended Audience :: Developers
|
32
32
|
Classifier: Topic :: Software Development :: Libraries
|
@@ -46,7 +46,7 @@ License-File: LICENSE.txt
|
|
46
46
|
<img width="45%"src="https://github.com/user-attachments/assets/08e77e89-00ea-4c52-9222-9bd421284360" alt="tksheet treeview">
|
47
47
|
</p>
|
48
48
|
|
49
|
-
# <div align="center">tksheet - python tkinter table widget</div>
|
49
|
+
# <div align="center">tksheet - python tkinter table + treeview widget</div>
|
50
50
|
|
51
51
|
[](https://pypi.python.org/pypi/tksheet/)  [](https://github.com/ragardner/tksheet/blob/master/LICENSE.txt)
|
52
52
|
|
@@ -84,31 +84,24 @@ License-File: LICENSE.txt
|
|
84
84
|
|
85
85
|
This library is maintained with the help of **[others](https://github.com/ragardner/tksheet/graphs/contributors)**. If you would like to contribute please read this [help section](https://github.com/ragardner/tksheet/wiki/Version-7#contributing).
|
86
86
|
|
87
|
-
## **Changes for versions `7`+:**
|
88
|
-
|
89
|
-
- **ALL** `extra_bindings()` event objects have changed, information [here](https://github.com/ragardner/tksheet/wiki/Version-7#bind-specific-table-functionality).
|
90
|
-
- The bound function for `extra_bindings()` with `"edit_cell"`/`"end_edit_cell"` **no longer** requires a return value and no longer sets the cell to the return value. Use [this](https://github.com/ragardner/tksheet/wiki/Version-7#validate-user-cell-edits) instead.
|
91
|
-
- `edit_cell_validation` has been removed and replaced with the function `edit_validation()`, information [here](https://github.com/ragardner/tksheet/wiki/Version-7#validate-user-cell-edits).
|
92
|
-
- Only Python versions >= `3.8` are supported.
|
93
|
-
- `tksheet` file names have been changed.
|
94
|
-
- Many other smaller changes, see the [changelog](https://github.com/ragardner/tksheet/blob/master/docs/CHANGELOG.md) for more information.
|
95
|
-
|
96
87
|
## **Features**
|
97
88
|
|
98
89
|
- Smoothly display and modify tabular data
|
99
90
|
- [Edit cells directly](https://github.com/ragardner/tksheet/wiki/Version-7#table-functionality-and-bindings)
|
100
91
|
- 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
|
101
92
|
- [Drag and drop columns and rows](https://github.com/ragardner/tksheet/wiki/Version-7#table-functionality-and-bindings)
|
93
|
+
- [Editable Treeview mode](https://github.com/ragardner/tksheet/wiki/Version-7#treeview-mode) with working drag and drop, undo, etc.
|
102
94
|
- Multiple line header and index cells
|
103
95
|
- [Expand row heights and column widths](https://github.com/ragardner/tksheet/wiki/Version-7#table-functionality-and-bindings)
|
104
96
|
- [Change fonts and font size (not for individual cells)](https://github.com/ragardner/tksheet/wiki/Version-7#text-font-and-alignment)
|
105
97
|
- [Change any colors in the sheet](https://github.com/ragardner/tksheet/wiki/Version-7#sheet-appearance)
|
106
|
-
|
98
|
+
|
107
99
|
- [Dropdown boxes](https://github.com/ragardner/tksheet/wiki/Version-7#dropdown-boxes)
|
108
100
|
- [Check boxes](https://github.com/ragardner/tksheet/wiki/Version-7#check-boxes)
|
109
101
|
- [Progress bars](https://github.com/ragardner/tksheet/wiki/Version-7#progress-bars)
|
110
102
|
- [Hide rows and/or columns](https://github.com/ragardner/tksheet/wiki/Version-7#example-header-dropdown-boxes-and-row-filtering)
|
111
103
|
- [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)
|
104
|
+
- [In-built natural sorting](https://github.com/ragardner/tksheet/wiki/Version-7#sorting-the-table)
|
112
105
|
- [Optional built-in find window](https://github.com/ragardner/tksheet/wiki/Version-7#table-functionality-and-bindings)
|
113
106
|
|
114
107
|
```python
|
@@ -140,4 +133,11 @@ sheet.delete_columns(columns=[0, 3], undo=True)
|
|
140
133
|
|
141
134
|

|
142
135
|
|
136
|
+
## **Changes for versions `7`+:**
|
143
137
|
|
138
|
+
- **ALL** `extra_bindings()` event objects have changed, information [here](https://github.com/ragardner/tksheet/wiki/Version-7#bind-specific-table-functionality).
|
139
|
+
- The bound function for `extra_bindings()` with `"edit_cell"`/`"end_edit_cell"` **no longer** requires a return value and no longer sets the cell to the return value. Use [this](https://github.com/ragardner/tksheet/wiki/Version-7#validate-user-cell-edits) instead.
|
140
|
+
- `edit_cell_validation` has been removed and replaced with the function `edit_validation()`, information [here](https://github.com/ragardner/tksheet/wiki/Version-7#validate-user-cell-edits).
|
141
|
+
- Only Python versions >= `3.8` are supported.
|
142
|
+
- `tksheet` file names have been changed.
|
143
|
+
- Many other smaller changes, see the [changelog](https://github.com/ragardner/tksheet/blob/master/docs/CHANGELOG.md) for more information.
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<img width="45%"src="https://github.com/user-attachments/assets/08e77e89-00ea-4c52-9222-9bd421284360" alt="tksheet treeview">
|
4
4
|
</p>
|
5
5
|
|
6
|
-
# <div align="center">tksheet - python tkinter table widget</div>
|
6
|
+
# <div align="center">tksheet - python tkinter table + treeview widget</div>
|
7
7
|
|
8
8
|
[](https://pypi.python.org/pypi/tksheet/)  [](https://github.com/ragardner/tksheet/blob/master/LICENSE.txt)
|
9
9
|
|
@@ -41,31 +41,24 @@
|
|
41
41
|
|
42
42
|
This library is maintained with the help of **[others](https://github.com/ragardner/tksheet/graphs/contributors)**. If you would like to contribute please read this [help section](https://github.com/ragardner/tksheet/wiki/Version-7#contributing).
|
43
43
|
|
44
|
-
## **Changes for versions `7`+:**
|
45
|
-
|
46
|
-
- **ALL** `extra_bindings()` event objects have changed, information [here](https://github.com/ragardner/tksheet/wiki/Version-7#bind-specific-table-functionality).
|
47
|
-
- The bound function for `extra_bindings()` with `"edit_cell"`/`"end_edit_cell"` **no longer** requires a return value and no longer sets the cell to the return value. Use [this](https://github.com/ragardner/tksheet/wiki/Version-7#validate-user-cell-edits) instead.
|
48
|
-
- `edit_cell_validation` has been removed and replaced with the function `edit_validation()`, information [here](https://github.com/ragardner/tksheet/wiki/Version-7#validate-user-cell-edits).
|
49
|
-
- Only Python versions >= `3.8` are supported.
|
50
|
-
- `tksheet` file names have been changed.
|
51
|
-
- Many other smaller changes, see the [changelog](https://github.com/ragardner/tksheet/blob/master/docs/CHANGELOG.md) for more information.
|
52
|
-
|
53
44
|
## **Features**
|
54
45
|
|
55
46
|
- Smoothly display and modify tabular data
|
56
47
|
- [Edit cells directly](https://github.com/ragardner/tksheet/wiki/Version-7#table-functionality-and-bindings)
|
57
48
|
- 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
|
58
49
|
- [Drag and drop columns and rows](https://github.com/ragardner/tksheet/wiki/Version-7#table-functionality-and-bindings)
|
50
|
+
- [Editable Treeview mode](https://github.com/ragardner/tksheet/wiki/Version-7#treeview-mode) with working drag and drop, undo, etc.
|
59
51
|
- Multiple line header and index cells
|
60
52
|
- [Expand row heights and column widths](https://github.com/ragardner/tksheet/wiki/Version-7#table-functionality-and-bindings)
|
61
53
|
- [Change fonts and font size (not for individual cells)](https://github.com/ragardner/tksheet/wiki/Version-7#text-font-and-alignment)
|
62
54
|
- [Change any colors in the sheet](https://github.com/ragardner/tksheet/wiki/Version-7#sheet-appearance)
|
63
|
-
|
55
|
+
|
64
56
|
- [Dropdown boxes](https://github.com/ragardner/tksheet/wiki/Version-7#dropdown-boxes)
|
65
57
|
- [Check boxes](https://github.com/ragardner/tksheet/wiki/Version-7#check-boxes)
|
66
58
|
- [Progress bars](https://github.com/ragardner/tksheet/wiki/Version-7#progress-bars)
|
67
59
|
- [Hide rows and/or columns](https://github.com/ragardner/tksheet/wiki/Version-7#example-header-dropdown-boxes-and-row-filtering)
|
68
60
|
- [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)
|
61
|
+
- [In-built natural sorting](https://github.com/ragardner/tksheet/wiki/Version-7#sorting-the-table)
|
69
62
|
- [Optional built-in find window](https://github.com/ragardner/tksheet/wiki/Version-7#table-functionality-and-bindings)
|
70
63
|
|
71
64
|
```python
|
@@ -97,4 +90,11 @@ sheet.delete_columns(columns=[0, 3], undo=True)
|
|
97
90
|
|
98
91
|

|
99
92
|
|
93
|
+
## **Changes for versions `7`+:**
|
100
94
|
|
95
|
+
- **ALL** `extra_bindings()` event objects have changed, information [here](https://github.com/ragardner/tksheet/wiki/Version-7#bind-specific-table-functionality).
|
96
|
+
- The bound function for `extra_bindings()` with `"edit_cell"`/`"end_edit_cell"` **no longer** requires a return value and no longer sets the cell to the return value. Use [this](https://github.com/ragardner/tksheet/wiki/Version-7#validate-user-cell-edits) instead.
|
97
|
+
- `edit_cell_validation` has been removed and replaced with the function `edit_validation()`, information [here](https://github.com/ragardner/tksheet/wiki/Version-7#validate-user-cell-edits).
|
98
|
+
- Only Python versions >= `3.8` are supported.
|
99
|
+
- `tksheet` file names have been changed.
|
100
|
+
- Many other smaller changes, see the [changelog](https://github.com/ragardner/tksheet/blob/master/docs/CHANGELOG.md) for more information.
|
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "tksheet"
|
7
|
-
description = "Tkinter table / sheet widget"
|
7
|
+
description = "Tkinter table / sheet and treeview widget"
|
8
8
|
readme = "README.md"
|
9
|
-
version = "7.
|
9
|
+
version = "7.4.0"
|
10
10
|
authors = [{ name = "ragardner", email = "github@ragardner.simplelogin.com" }]
|
11
11
|
requires-python = ">=3.8"
|
12
12
|
license = {file = "LICENSE.txt"}
|
13
|
-
keywords = ["tkinter", "table", "widget", "sheet", "grid", "tk"]
|
13
|
+
keywords = ["tkinter", "table", "widget", "tree", "treeview", "sheet", "grid", "tk"]
|
14
14
|
classifiers = [
|
15
15
|
"Development Status :: 5 - Production/Stable",
|
16
16
|
"Intended Audience :: Developers",
|
@@ -4,12 +4,22 @@
|
|
4
4
|
tksheet - A Python tkinter table widget
|
5
5
|
"""
|
6
6
|
|
7
|
-
__version__ = "7.
|
7
|
+
__version__ = "7.4.0"
|
8
8
|
|
9
9
|
from .colors import (
|
10
10
|
color_map,
|
11
11
|
)
|
12
12
|
from .column_headers import ColumnHeaders
|
13
|
+
from .constants import (
|
14
|
+
USER_OS,
|
15
|
+
ctrl_key,
|
16
|
+
emitted_events,
|
17
|
+
falsy,
|
18
|
+
nonelike,
|
19
|
+
rc_binding,
|
20
|
+
symbols_set,
|
21
|
+
truthy,
|
22
|
+
)
|
13
23
|
from .formatters import (
|
14
24
|
Formatter,
|
15
25
|
alt_percentage_to_str,
|
@@ -96,13 +106,3 @@ from .themes import (
|
|
96
106
|
theme_light_green,
|
97
107
|
)
|
98
108
|
from .top_left_rectangle import TopLeftRectangle
|
99
|
-
from .constants import (
|
100
|
-
USER_OS,
|
101
|
-
ctrl_key,
|
102
|
-
emitted_events,
|
103
|
-
falsy,
|
104
|
-
nonelike,
|
105
|
-
rc_binding,
|
106
|
-
symbols_set,
|
107
|
-
truthy,
|
108
|
-
)
|