psiutils 0.2.15__py3-none-any.whl → 0.2.16__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.15'
1
+ __version__ = '0.2.16'
psiutils/constants.py CHANGED
@@ -1,35 +1,33 @@
1
1
  """Constants for the tkinter psiutils."""
2
2
  from enum import Enum, auto
3
3
 
4
- from .utilities import invert
4
+ # from .utilities import invert
5
5
  from .known_paths import get_documents_dir, get_downloads_dir
6
6
 
7
7
  DEFAULT_GEOMETRY = '500x400'
8
8
 
9
- # TODO is this needed with Status?
10
- DIALOG_STATUS: dict = {
11
- 'yes': True,
12
- 'no': False,
13
- 'cancel': None,
14
- 'null': 0,
15
- 'undefined': 0,
16
- 'exit': 1,
17
- 'ok': 2,
18
- 'updated': 3,
19
- 'error': 4,
20
- }
21
- DIALOG_STATUS = invert(DIALOG_STATUS)
22
-
23
- # TODO is this needed with Mode?
24
- MODES: dict[int, str] | dict[str, int] = {
25
- 0: 'view',
26
- 1: 'new',
27
- 2: 'edit',
28
- 3: 'delete'
29
- }
30
- MODES = invert(MODES)
31
-
32
- DEFAULT_GEOMETRY = '500x400'
9
+ # # TODO is this needed with Status?
10
+ # DIALOG_STATUS: dict = {
11
+ # 'yes': True,
12
+ # 'no': False,
13
+ # 'cancel': None,
14
+ # 'null': 0,
15
+ # 'undefined': 0,
16
+ # 'exit': 1,
17
+ # 'ok': 2,
18
+ # 'updated': 3,
19
+ # 'error': 4,
20
+ # }
21
+ # DIALOG_STATUS = invert(DIALOG_STATUS)
22
+
23
+ # # TODO is this needed with Mode?
24
+ # MODES: dict[int, str] | dict[str, int] = {
25
+ # 0: 'view',
26
+ # 1: 'new',
27
+ # 2: 'edit',
28
+ # 3: 'delete'
29
+ # }
30
+ # MODES = invert(MODES)
33
31
 
34
32
  # GUI
35
33
  PAD = 5
psiutils/text.py CHANGED
@@ -61,7 +61,7 @@ class Text():
61
61
  """Combines package level and psiutils strings."""
62
62
  def __init__(self) -> None:
63
63
  """
64
- Initialize the object with attributes based on the key-value pairs
64
+ Initialise the object with attributes based on the key-value pairs
65
65
  in the `strings` dictionary.
66
66
 
67
67
  Args:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: psiutils
3
- Version: 0.2.15
3
+ Version: 0.2.16
4
4
  Summary: Various TKinter utilities.
5
5
  Author: Jeff
6
6
  Author-email: Jeff <<jeffwatkins2000@gmail.com>>
@@ -2,9 +2,9 @@ psiutils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  psiutils/_about_frame.py,sha256=Ei9RMja36x2Xc9SecCXnqXd9EzDe1LIHq4ZDDbKtc_I,7656
3
3
  psiutils/_logger.py,sha256=9nXxKWUyu4xqIILjTSUKRAMOG4cFy_EGJTTo0FtUAGU,2859
4
4
  psiutils/_notify.py,sha256=rQfYxPxsSwAEJBNXaAZSNlRmZLWB1sah1E1Oja9y-mw,437
5
- psiutils/_version.py,sha256=n8L-CG7GwxdcaK3gVXpLPrQnpjUiTjhwgxpdZpr4XUY,22
5
+ psiutils/_version.py,sha256=fDC3n_zbWMf96Cvd7apYtjcrebh0WSOm6_8kmcC0fvo,22
6
6
  psiutils/buttons.py,sha256=vj-RCKKl4_kYisrMqPi8w56eXfRkbx1zze8oqgS4GjM,8807
7
- psiutils/constants.py,sha256=-jgP8_QCw91o0F4hS5CzUpPfupqsYrQ8K-Q_NdORvyg,1527
7
+ psiutils/constants.py,sha256=AJOw73GL9Rx9BEmfduTy32S3dM3Rp6iIOYALY0J7JSw,1541
8
8
  psiutils/drag_manager.py,sha256=L04GzKIinWXzGCawvTnn18F1AEt8PUPS1U-HqCVrh48,3470
9
9
  psiutils/errors.py,sha256=tAypFkpzpbeOppO9zKQimlnRVyr3sMPoiwh0yK3Yc88,562
10
10
  psiutils/icecream_init.py,sha256=ArKnRHGCyMfEwSykiHGdhBmX4JPhrgcpShii_GAPWLI,739
@@ -52,10 +52,10 @@ psiutils/images/icon-query.png,sha256=e18hqkew4eOxABvECKn7BGO2VTHTE-XLMWPSQfSW9d
52
52
  psiutils/known_paths.py,sha256=Ydhk-Ie_q827ti35Hru8YwUx5awdO2FEG845k1N0hPo,9543
53
53
  psiutils/menus.py,sha256=4pUHb3fEYzLnsftxdKB_NjlPryj_pu7WN5Iy5Quy9-M,1746
54
54
  psiutils/messagebox.py,sha256=ODFodaDahAm31A8M4MVp9FXdhI0zhW8PZdUbBqbVQEY,4973
55
- psiutils/text.py,sha256=Q8f3k-2Op0erGW0AqXptVErGBUaFl9nFNYwmYnp3a3c,3074
55
+ psiutils/text.py,sha256=x9-VR1iYgp28HD0wHYksf_4tPSkCStCY7_hh9TM_c-k,3074
56
56
  psiutils/treeview.py,sha256=jtSzLWrnFIBDWV5YhWNRoZwgW-Kj8_7XVqZyusr-riQ,2826
57
57
  psiutils/utilities.py,sha256=hBntrigp7WiuzRoGGhS96QVE-7pF2OdYT882jwMTrlQ,3355
58
58
  psiutils/widgets.py,sha256=TOJKDEdYJetPZxFZohQGJsVX_k3E26-ChgSXqDeJ0Y4,11363
59
- psiutils-0.2.15.dist-info/WHEEL,sha256=YUH1mBqsx8Dh2cQG2rlcuRYUhJddG9iClegy4IgnHik,79
60
- psiutils-0.2.15.dist-info/METADATA,sha256=ja3DXZwdpSkhTKERDJ3vEq_OXKaddvq_-JRdrKNmtYU,2109
61
- psiutils-0.2.15.dist-info/RECORD,,
59
+ psiutils-0.2.16.dist-info/WHEEL,sha256=YUH1mBqsx8Dh2cQG2rlcuRYUhJddG9iClegy4IgnHik,79
60
+ psiutils-0.2.16.dist-info/METADATA,sha256=5qKM-f47jAfITzt3mO93Jo9i7ZNnyc25HGosrvdeVWQ,2109
61
+ psiutils-0.2.16.dist-info/RECORD,,