tksheet 7.0.6__tar.gz → 7.1.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.
Files changed (25) hide show
  1. {tksheet-7.0.6/tksheet.egg-info → tksheet-7.1.0}/PKG-INFO +1 -1
  2. {tksheet-7.0.6 → tksheet-7.1.0}/pyproject.toml +1 -1
  3. {tksheet-7.0.6 → tksheet-7.1.0}/tksheet/__init__.py +96 -96
  4. {tksheet-7.0.6 → tksheet-7.1.0}/tksheet/column_headers.py +252 -270
  5. {tksheet-7.0.6 → tksheet-7.1.0}/tksheet/functions.py +37 -9
  6. {tksheet-7.0.6 → tksheet-7.1.0}/tksheet/main_table.py +743 -795
  7. {tksheet-7.0.6 → tksheet-7.1.0}/tksheet/other_classes.py +129 -4
  8. {tksheet-7.0.6 → tksheet-7.1.0}/tksheet/row_index.py +470 -316
  9. {tksheet-7.0.6 → tksheet-7.1.0}/tksheet/sheet.py +994 -177
  10. {tksheet-7.0.6 → tksheet-7.1.0}/tksheet/sheet_options.py +34 -0
  11. {tksheet-7.0.6 → tksheet-7.1.0}/tksheet/text_editor.py +93 -78
  12. {tksheet-7.0.6 → tksheet-7.1.0}/tksheet/themes.py +104 -0
  13. tksheet-7.1.0/tksheet/vars.py +62 -0
  14. {tksheet-7.0.6 → tksheet-7.1.0/tksheet.egg-info}/PKG-INFO +1 -1
  15. tksheet-7.0.6/tksheet/vars.py +0 -27
  16. {tksheet-7.0.6 → tksheet-7.1.0}/LICENSE.txt +0 -0
  17. {tksheet-7.0.6 → tksheet-7.1.0}/README.md +0 -0
  18. {tksheet-7.0.6 → tksheet-7.1.0}/setup.cfg +0 -0
  19. {tksheet-7.0.6 → tksheet-7.1.0}/tksheet/colors.py +0 -0
  20. {tksheet-7.0.6 → tksheet-7.1.0}/tksheet/formatters.py +0 -0
  21. {tksheet-7.0.6 → tksheet-7.1.0}/tksheet/top_left_rectangle.py +0 -0
  22. {tksheet-7.0.6 → tksheet-7.1.0}/tksheet/types.py +0 -0
  23. {tksheet-7.0.6 → tksheet-7.1.0}/tksheet.egg-info/SOURCES.txt +0 -0
  24. {tksheet-7.0.6 → tksheet-7.1.0}/tksheet.egg-info/dependency_links.txt +0 -0
  25. {tksheet-7.0.6 → tksheet-7.1.0}/tksheet.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tksheet
3
- Version: 7.0.6
3
+ Version: 7.1.0
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
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
  name = "tksheet"
7
7
  description = "Tkinter table / sheet widget"
8
8
  readme = "README.md"
9
- version = "7.0.6"
9
+ version = "7.1.0"
10
10
  authors = [{ name = "ragardner", email = "github@ragardner.simplelogin.com" }]
11
11
  requires-python = ">=3.8"
12
12
  license = {file = "LICENSE.txt"}
@@ -1,96 +1,96 @@
1
- # ruff: noqa: F401
2
-
3
- """
4
- tksheet - A Python tkinter table widget
5
- """
6
-
7
- __version__ = "7.0.6"
8
-
9
- from .colors import (
10
- color_map,
11
- )
12
- from .column_headers import ColumnHeaders
13
- from .formatters import (
14
- Formatter,
15
- bool_formatter,
16
- data_to_str,
17
- float_formatter,
18
- float_to_str,
19
- format_data,
20
- formatter,
21
- get_clipboard_data,
22
- get_data_with_valid_check,
23
- int_formatter,
24
- is_bool_like,
25
- is_none_like,
26
- percentage_formatter,
27
- percentage_to_str,
28
- to_bool,
29
- to_float,
30
- to_int,
31
- to_str,
32
- try_to_bool,
33
- )
34
- from .functions import (
35
- alpha2idx,
36
- alpha2num,
37
- consecutive_chunks,
38
- data_to_displayed_idxs,
39
- displayed_to_data_idxs,
40
- dropdown_search_function,
41
- event_dict,
42
- get_checkbox_dict,
43
- get_checkbox_kwargs,
44
- get_checkbox_points,
45
- get_dropdown_dict,
46
- get_dropdown_kwargs,
47
- get_index_of_gap_in_sorted_integer_seq_forward,
48
- get_index_of_gap_in_sorted_integer_seq_reverse,
49
- get_n2a,
50
- get_new_indexes,
51
- get_seq_without_gaps_at_index,
52
- is_iterable,
53
- move_elements_by_mapping,
54
- move_elements_to,
55
- num2alpha,
56
- span_dict,
57
- tksheet_type_error,
58
- )
59
- from .main_table import MainTable
60
- from .other_classes import (
61
- CurrentlySelectedClass,
62
- DotDict,
63
- DraggedRowColumn,
64
- DrawnItem,
65
- EventDataDict,
66
- GeneratedMouseEvent,
67
- Span,
68
- SpanRange,
69
- TextCfg,
70
- )
71
- from .row_index import RowIndex
72
- from .sheet import Dropdown, Sheet
73
- from .sheet_options import new_sheet_options
74
- from .text_editor import (
75
- TextEditor,
76
- TextEditor_,
77
- )
78
- from .themes import (
79
- theme_black,
80
- theme_dark,
81
- theme_dark_blue,
82
- theme_dark_green,
83
- theme_light_blue,
84
- theme_light_green,
85
- )
86
- from .top_left_rectangle import TopLeftRectangle
87
- from .vars import (
88
- USER_OS,
89
- ctrl_key,
90
- emitted_events,
91
- falsy,
92
- nonelike,
93
- rc_binding,
94
- symbols_set,
95
- truthy,
96
- )
1
+ # ruff: noqa: F401
2
+
3
+ """
4
+ tksheet - A Python tkinter table widget
5
+ """
6
+
7
+ __version__ = "7.1.0"
8
+
9
+ from .colors import (
10
+ color_map,
11
+ )
12
+ from .column_headers import ColumnHeaders
13
+ from .formatters import (
14
+ Formatter,
15
+ bool_formatter,
16
+ data_to_str,
17
+ float_formatter,
18
+ float_to_str,
19
+ format_data,
20
+ formatter,
21
+ get_clipboard_data,
22
+ get_data_with_valid_check,
23
+ int_formatter,
24
+ is_bool_like,
25
+ is_none_like,
26
+ percentage_formatter,
27
+ percentage_to_str,
28
+ to_bool,
29
+ to_float,
30
+ to_int,
31
+ to_str,
32
+ try_to_bool,
33
+ )
34
+ from .functions import (
35
+ alpha2idx,
36
+ alpha2num,
37
+ consecutive_chunks,
38
+ data_to_displayed_idxs,
39
+ displayed_to_data_idxs,
40
+ dropdown_search_function,
41
+ event_dict,
42
+ get_checkbox_dict,
43
+ get_checkbox_kwargs,
44
+ get_checkbox_points,
45
+ get_dropdown_dict,
46
+ get_dropdown_kwargs,
47
+ get_index_of_gap_in_sorted_integer_seq_forward,
48
+ get_index_of_gap_in_sorted_integer_seq_reverse,
49
+ get_n2a,
50
+ get_new_indexes,
51
+ get_seq_without_gaps_at_index,
52
+ is_iterable,
53
+ move_elements_by_mapping,
54
+ move_elements_to,
55
+ num2alpha,
56
+ span_dict,
57
+ tksheet_type_error,
58
+ )
59
+ from .main_table import MainTable
60
+ from .other_classes import (
61
+ DotDict,
62
+ DraggedRowColumn,
63
+ DrawnItem,
64
+ EventDataDict,
65
+ GeneratedMouseEvent,
66
+ Selected,
67
+ Span,
68
+ SpanRange,
69
+ TextCfg,
70
+ )
71
+ from .row_index import RowIndex
72
+ from .sheet import Dropdown, Sheet
73
+ from .sheet_options import new_sheet_options
74
+ from .text_editor import (
75
+ TextEditor,
76
+ TextEditorTkText,
77
+ )
78
+ from .themes import (
79
+ theme_black,
80
+ theme_dark,
81
+ theme_dark_blue,
82
+ theme_dark_green,
83
+ theme_light_blue,
84
+ theme_light_green,
85
+ )
86
+ from .top_left_rectangle import TopLeftRectangle
87
+ from .vars import (
88
+ USER_OS,
89
+ ctrl_key,
90
+ emitted_events,
91
+ falsy,
92
+ nonelike,
93
+ rc_binding,
94
+ symbols_set,
95
+ truthy,
96
+ )