bear-utils 0.7.20__py3-none-any.whl → 0.7.21__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.
@@ -1,3 +1,6 @@
1
- from .gui_tools import QTApplication, get_text, select_color
1
+ try:
2
+ from .gui_tools import QTApplication, get_text, select_color
2
3
 
3
- __all__ = ["QTApplication", "select_color", "get_text"]
4
+ __all__ = ["QTApplication", "select_color", "get_text"]
5
+ except ImportError as e:
6
+ raise ImportError("PyQt6 is required for GUI functionality. Install it with: pip install bear-utils[gui]") from e
@@ -1,5 +1,8 @@
1
- from .qt_app import QTApplication
2
- from .qt_color_picker import select_color
3
- from .qt_input_dialog import get_text
1
+ try:
2
+ from .qt_app import QTApplication
3
+ from .qt_color_picker import select_color
4
+ from .qt_input_dialog import get_text
4
5
 
5
- __all__ = ["QTApplication", "select_color", "get_text"]
6
+ __all__ = ["QTApplication", "select_color", "get_text"]
7
+ except ImportError as e:
8
+ raise ImportError("PyQt6 is required for GUI functionality. Install it with: pip install bear-utils[gui]") from e
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bear-utils
3
- Version: 0.7.20
3
+ Version: 0.7.21
4
4
  Summary: Various utilities for Bear programmers, including a rich logging utility, a disk cache, and a SQLite database wrapper amongst other things.
5
5
  Author-email: chaz <bright.lid5647@fastmail.com>
6
6
  Requires-Python: >=3.12
@@ -12,7 +12,6 @@ Requires-Dist: pillow<12.0.0,>=11.2.1
12
12
  Requires-Dist: prompt-toolkit<4.0.0,>=3.0.51
13
13
  Requires-Dist: pydantic>=2.11.5
14
14
  Requires-Dist: pyglm<3.0.0,>=2.8.2
15
- Requires-Dist: pyqt6>=6.9.0
16
15
  Requires-Dist: pyyaml>=6.0.2
17
16
  Requires-Dist: rich<15.0.0,>=14.0.0
18
17
  Requires-Dist: singleton-base>=1.0.5
@@ -20,7 +19,7 @@ Requires-Dist: sqlalchemy<3.0.0,>=2.0.40
20
19
  Requires-Dist: toml>=0.10.2
21
20
  Description-Content-Type: text/markdown
22
21
 
23
- # Bear Utils v# Bear Utils v0.7.20
22
+ # Bear Utils v# Bear Utils v0.7.21
24
23
 
25
24
  Personal set of tools and utilities for Python projects, focusing on modularity and ease of use. This library includes components for caching, database management, logging, time handling, file operations, CLI prompts, image processing, clipboard interaction, gradient utilities, event systems, and async helpers.
26
25
 
@@ -46,8 +46,8 @@ bear_utils/files/file_handlers/yaml_file_handler.py,sha256=Oe8U0fYtDv7q8sFWs_rO3
46
46
  bear_utils/graphics/__init__.py,sha256=N6EXOyAVoytsKecFKvi4P9Q0biEZeLkLBDor5YFUqYg,218
47
47
  bear_utils/graphics/bear_gradient.py,sha256=bwjJobhgMguEA0FQnjpGzyU3CzFG4bxEvxJtJXAKBcc,4808
48
48
  bear_utils/graphics/image_helpers.py,sha256=fy96H_BkuiCXecDXCMmrlH-SWGsA5SkEUSxlKGzcibI,1374
49
- bear_utils/gui/__init__.py,sha256=PUxxVf4txMQhzwXQlCn9SJfZgIxnOZJdJ_ADO8W5EdI,118
50
- bear_utils/gui/gui_tools/__init__.py,sha256=RItgVR6gVL0tmWF9KLmZaKKiu-DMgRwvNSOAHhbE0QM,171
49
+ bear_utils/gui/__init__.py,sha256=fCq-WDA5w5lx2Lg7V5_zsYyBKV88gnStPRQSZcUqWjw,274
50
+ bear_utils/gui/gui_tools/__init__.py,sha256=3iHLnm5lv7GVTvTiZ9MazLYtseK8-b2dYZmHRV3YuKw,335
51
51
  bear_utils/gui/gui_tools/_settings.py,sha256=1zFSMwTacybbleXs2LMDuoyZJwr8ixkLZBfcYVfLbiU,1202
52
52
  bear_utils/gui/gui_tools/_types.py,sha256=krguJ-ccALKeUHz9auh_iyOCzeAuerOYcuhWW8jjJQ0,248
53
53
  bear_utils/gui/gui_tools/qt_app.py,sha256=rTeiaGSZztKogZC1E6lDwOfJ0eVcZXWJmNGjOkbT9bw,5520
@@ -74,6 +74,6 @@ bear_utils/logging/logger_manager/loggers/_sub_logger.pyi,sha256=-SCh73lTkqolDq-
74
74
  bear_utils/monitoring/__init__.py,sha256=cj7UYsipfYFwxQmXtMpziAv4suRtGzWEdjdwOCbxJN4,168
75
75
  bear_utils/monitoring/host_monitor.py,sha256=GwIK9X8rATUhYIbOXi4MINfACWgO3T1vzUK1gSK_TQc,12902
76
76
  bear_utils/time/__init__.py,sha256=EHzc9KiGG3l6mAPhiIeFcYqxQG_w0QQ1ES3yRFVr8ug,721
77
- bear_utils-0.7.20.dist-info/METADATA,sha256=y3QW28BwGp2RWNLE9uJ7Sw_0sdFQTjNlDa1IwWRSAGo,7326
78
- bear_utils-0.7.20.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
79
- bear_utils-0.7.20.dist-info/RECORD,,
77
+ bear_utils-0.7.21.dist-info/METADATA,sha256=Zycfs1dpb1uMnV_P2tjgDIs-S8k2npsmOA4RJ-PWct8,7298
78
+ bear_utils-0.7.21.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
79
+ bear_utils-0.7.21.dist-info/RECORD,,