psiutils 0.2.6__py3-none-any.whl → 0.2.7__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.
psiutils/_version.py CHANGED
@@ -1 +1 @@
1
- __version__ = '0.2.6'
1
+ __version__ = '0.2.7'
psiutils/text.py CHANGED
@@ -44,3 +44,72 @@ UPGRADE = 'Upgrade'
44
44
  USE = 'Use'
45
45
  WINDOWS = 'Windows'
46
46
  YES = 'Yes'
47
+
48
+
49
+ strings = {
50
+ 'BUILD': 'Build',
51
+ 'CANCEL': 'Cancel',
52
+ 'CHECK': 'Check',
53
+ 'CLEAR': 'Clear',
54
+ 'CLOSE': 'Close',
55
+ 'CODE': 'Code',
56
+ 'COMPARE': 'Compare',
57
+ 'CONFIG': 'Config',
58
+ 'COPY': 'Copy',
59
+ 'DELETE': 'Delete',
60
+ 'DELETE_THESE_ITEMS': 'Are you sure you want to delete these item(s)?',
61
+ 'DIFF': 'Diff',
62
+ 'DONE': 'Done',
63
+ 'EDIT': 'Edit',
64
+ 'ELLIPSIS': ' ...',
65
+ 'EVENT': 'Event',
66
+ 'EXIT': 'Exit',
67
+ 'HELP': 'Help',
68
+ 'NEW': 'New',
69
+ 'NEXT': 'Next',
70
+ 'NO': 'No',
71
+ 'NO_SUCH_FILE': 'no such file or directory',
72
+ 'OK': 'OK',
73
+ 'OPEN': 'Open',
74
+ 'PAUSE': 'Pause',
75
+ 'PREFERENCES': 'Preferences',
76
+ 'PREVIOUS': 'Prev',
77
+ 'PROCESS': 'Process',
78
+ 'QUIT': 'Quit',
79
+ 'REDO': 'Redo',
80
+ 'REFRESH': 'Refresh',
81
+ 'REPORT': 'Report',
82
+ 'RENAME': 'Rename',
83
+ 'RESET': 'Reset',
84
+ 'REVERT': 'Revert',
85
+ 'RUN': 'Run',
86
+ 'SAVE': 'Save',
87
+ 'SCRIPT': 'Script',
88
+ 'SAVE_PDF': 'Save as PDF',
89
+ 'SEARCH': 'Search',
90
+ 'SEND': 'Send',
91
+ 'START': 'Start',
92
+ 'UPDATE': 'Update',
93
+ 'UPGRADE': 'Upgrade',
94
+ 'USE': 'Use',
95
+ 'WINDOWS': 'Windows',
96
+ 'YES': 'Yes',
97
+ }
98
+
99
+
100
+ class Text():
101
+ """Combines package level and psiutils strings."""
102
+ def __init__(self) -> None:
103
+ """
104
+ Initialize the object with attributes based on the key-value pairs
105
+ in the `strings` dictionary.
106
+
107
+ Args:
108
+ self: The instance of the class.
109
+
110
+ Returns:
111
+ None
112
+ """
113
+
114
+ for key, string in strings.items():
115
+ setattr(self, key, string)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: psiutils
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Summary: Various TKinter utilities.
5
5
  Author: Jeff
6
6
  Author-email: Jeff <<jeffwatkins2000@gmail.com>>
@@ -2,7 +2,7 @@ psiutils/__init__.py,sha256=B8mLHCYCnD0LcwsGAtS3HM9kYdwVnhf6dNXL6i1H4kY,145
2
2
  psiutils/_about_frame.py,sha256=xZQivwvZc-k8C-SkwQne-dBr4gavDAL_32fv8E-7Wt0,7644
3
3
  psiutils/_logger.py,sha256=9nXxKWUyu4xqIILjTSUKRAMOG4cFy_EGJTTo0FtUAGU,2859
4
4
  psiutils/_notify.py,sha256=rGVPir7zVxDd52yt63xFFw7r_vZvusGue2BupJwECYU,266
5
- psiutils/_version.py,sha256=G3YzB5xTyZTVDHgjxzwfUZHPQbqRjfJO_4NfpO-O5Lg,21
5
+ psiutils/_version.py,sha256=k14HNX-j7JGQmMcNd5V9YYE1rd2NN5QFLz4W-ttaFD0,21
6
6
  psiutils/buttons.py,sha256=38vQc6A0ub1p4GHukNQB3ICx7vi-9M4RAt-eeuDCeBg,8567
7
7
  psiutils/constants.py,sha256=T8AjYBkmuziAWjXgON-Sj0AM62NAGluj_Y6glrOFbHc,1107
8
8
  psiutils/drag_manager.py,sha256=L04GzKIinWXzGCawvTnn18F1AEt8PUPS1U-HqCVrh48,3470
@@ -48,10 +48,10 @@ psiutils/images/icon-query.png,sha256=e18hqkew4eOxABvECKn7BGO2VTHTE-XLMWPSQfSW9d
48
48
  psiutils/known_paths.py,sha256=Ydhk-Ie_q827ti35Hru8YwUx5awdO2FEG845k1N0hPo,9543
49
49
  psiutils/menus.py,sha256=4pUHb3fEYzLnsftxdKB_NjlPryj_pu7WN5Iy5Quy9-M,1746
50
50
  psiutils/messagebox.py,sha256=14W4KzEg8Fi1OCiOX9zZvomoSqibAYNipQpa95Tco5M,4969
51
- psiutils/text.py,sha256=5M5EOGfKLj_2JeH1lweDX8MJR6bk_aZl2pnRXj3FiHk,824
51
+ psiutils/text.py,sha256=hhCflD9kOzVmR7Hm2swrX6YzMunAAyBFVQz_gYYLMkc,2382
52
52
  psiutils/treeview.py,sha256=jtSzLWrnFIBDWV5YhWNRoZwgW-Kj8_7XVqZyusr-riQ,2826
53
53
  psiutils/utilities.py,sha256=bAoaYMumo0U8kz4pcPThYOY5Z3tPFe-a76Nhbwsd4lk,3005
54
54
  psiutils/widgets.py,sha256=ooGAy0IU3ct9aeqnBqMUr2AVyqg_zKHG8Fm9Gm-Wn5Y,11114
55
- psiutils-0.2.6.dist-info/WHEEL,sha256=Jb20R3Ili4n9P1fcwuLup21eQ5r9WXhs4_qy7VTrgPI,79
56
- psiutils-0.2.6.dist-info/METADATA,sha256=NcpC3cAB-LCbcQNYN-oM4Y_eMjxZCnT7c2iJIaU0oyQ,1976
57
- psiutils-0.2.6.dist-info/RECORD,,
55
+ psiutils-0.2.7.dist-info/WHEEL,sha256=Pi5uDq5Fdo_Rr-HD5h9BiPn9Et29Y9Sh8NhcJNnFU1c,79
56
+ psiutils-0.2.7.dist-info/METADATA,sha256=sBcgWCG7iHCHUhaUaKZyXHiULTxPbtN5newxpHfUtE8,1976
57
+ psiutils-0.2.7.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: uv 0.8.15
2
+ Generator: uv 0.8.17
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any