bear-utils 0.8.2__py3-none-any.whl → 0.8.4__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.
- bear_utils/constants/logger_protocol.py +5 -5
- bear_utils/logger_manager/loggers/_console_logger.pyi +3 -3
- {bear_utils-0.8.2.dist-info → bear_utils-0.8.4.dist-info}/METADATA +2 -2
- {bear_utils-0.8.2.dist-info → bear_utils-0.8.4.dist-info}/RECORD +5 -5
- {bear_utils-0.8.2.dist-info → bear_utils-0.8.4.dist-info}/WHEEL +0 -0
@@ -7,22 +7,22 @@ from typing import Protocol, runtime_checkable
|
|
7
7
|
class LoggerProtocol(Protocol):
|
8
8
|
"""A protocol for logging classes."""
|
9
9
|
|
10
|
-
def debug(self,
|
10
|
+
def debug(self, msg: object, *args, **kwargs) -> None:
|
11
11
|
"""Log a debug message."""
|
12
12
|
...
|
13
13
|
|
14
|
-
def info(self,
|
14
|
+
def info(self, msg: object, *args, **kwargs) -> None:
|
15
15
|
"""Log an info message."""
|
16
16
|
...
|
17
17
|
|
18
|
-
def warning(self,
|
18
|
+
def warning(self, msg: object, *args, **kwargs) -> None:
|
19
19
|
"""Log a warning message."""
|
20
20
|
...
|
21
21
|
|
22
|
-
def error(self,
|
22
|
+
def error(self, msg: object, *args, **kwargs) -> None:
|
23
23
|
"""Log an error message."""
|
24
24
|
...
|
25
25
|
|
26
|
-
def verbose(self,
|
26
|
+
def verbose(self, msg: object, *args, **kwargs) -> None:
|
27
27
|
"""Log a verbose message."""
|
28
28
|
...
|
@@ -40,9 +40,9 @@ class ConsoleLogger(Logger, BaseLogger):
|
|
40
40
|
def info(self, msg: object, *args, **kwargs: Any) -> None: ...
|
41
41
|
def warning(self, msg: object, *args, **kwargs: Any) -> None: ...
|
42
42
|
def error(self, msg: object, *args, **kwargs: Any) -> None: ...
|
43
|
-
def success(self, msg:
|
44
|
-
def failure(self, msg:
|
45
|
-
def verbose(self, msg:
|
43
|
+
def success(self, msg: object, *args, **kwargs: Any) -> None: ...
|
44
|
+
def failure(self, msg: object, *args, **kwargs: Any) -> None: ...
|
45
|
+
def verbose(self, msg: object, *args, **kwargs: Any) -> None: ...
|
46
46
|
def set_base_level(self, level: int) -> None: ...
|
47
47
|
def input(self, msg: str, style: str = "info") -> str: ...
|
48
48
|
def trigger_buffer_flush(self) -> str | Text: ...
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: bear-utils
|
3
|
-
Version: 0.8.
|
3
|
+
Version: 0.8.4
|
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
|
@@ -20,7 +20,7 @@ Requires-Dist: tinydb>=4.8.2
|
|
20
20
|
Requires-Dist: toml>=0.10.2
|
21
21
|
Description-Content-Type: text/markdown
|
22
22
|
|
23
|
-
# Bear Utils v# Bear Utils v0.8.
|
23
|
+
# Bear Utils v# Bear Utils v0.8.4
|
24
24
|
|
25
25
|
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
26
|
|
@@ -25,7 +25,7 @@ bear_utils/constants/__init__.py,sha256=fE3p01HDJDV9uAMWYB8q8h7K01ekSqZPxymvgbNa
|
|
25
25
|
bear_utils/constants/_exceptions.py,sha256=gnAGTmuD9NYpJakeLrYHAyPrAQPHDNahY_rS42Ct39k,251
|
26
26
|
bear_utils/constants/_lazy_typing.py,sha256=WfuWpRqx9XchvuyPWg3tVjMC5-C4QA-Bhwfskf4YmAE,339
|
27
27
|
bear_utils/constants/date_related.py,sha256=tRmiWJKKIOMFnp2PXOcH1jDPPs4g9G3Ss6lL90dAxa0,582
|
28
|
-
bear_utils/constants/logger_protocol.py,sha256=
|
28
|
+
bear_utils/constants/logger_protocol.py,sha256=KfqCVPSW3RB2QBm7Z3eeXIUJhkECSi9HEXr9Aqcl3PQ,740
|
29
29
|
bear_utils/constants/time_related.py,sha256=Mykb27THqC-K0HFrbbrdkTNJUKhzBEOfmPJ0rx2-L6E,705
|
30
30
|
bear_utils/database/__init__.py,sha256=dS_HHJKESpsI6BFDLVx055o0GCJV9CMYOQVuHs7EfgY,192
|
31
31
|
bear_utils/database/_db_manager.py,sha256=qsvOJkEAjTtcq1Q8ZgZnqiuCzYtI9n_KgHyAeIBVszY,3859
|
@@ -70,7 +70,7 @@ bear_utils/logger_manager/loggers/_base_logger.py,sha256=64ZzAKjuk4sZG_sUnXPSMjk
|
|
70
70
|
bear_utils/logger_manager/loggers/_base_logger.pyi,sha256=bo_Pykv42XvfBsQ7AmP_e_TEZ7puT_DhLqtqhEWBsc8,2667
|
71
71
|
bear_utils/logger_manager/loggers/_buffer_logger.py,sha256=JEd2afChzAKkM1va-L8xVOi1cF9n9W1vGzkI49YEf40,1527
|
72
72
|
bear_utils/logger_manager/loggers/_console_logger.py,sha256=bzyTA-DkeokGngl7AIg5zIvLwQUaWTk4NKtlH7P9SW8,9866
|
73
|
-
bear_utils/logger_manager/loggers/_console_logger.pyi,sha256=
|
73
|
+
bear_utils/logger_manager/loggers/_console_logger.pyi,sha256=ipZ3h0jfZs5OsiCQFW6UClId2lbqknpS9ChE3BZtrjg,1875
|
74
74
|
bear_utils/logger_manager/loggers/_file_logger.py,sha256=sYWMSRHvwxsPO9IzSVUednzIqZoOeMm_Dds_yAOJtfg,4744
|
75
75
|
bear_utils/logger_manager/loggers/_level_sin.py,sha256=HxAhuQSBhJHygTB8hcAIYLoPl6u0pUbF1BZ2aLFmEHI,1747
|
76
76
|
bear_utils/logger_manager/loggers/_logger.py,sha256=FA0ALmROX1BQIal7zhEemLnC0UnXTQY-YqJBlPEbQDM,537
|
@@ -80,6 +80,6 @@ bear_utils/monitoring/__init__.py,sha256=9DKNIWTp_voLnaWgiP-wJ-o_N0hYixo-MzjUmg8
|
|
80
80
|
bear_utils/monitoring/_common.py,sha256=LYQFxgTP9fk0cH71IQTuGwBYYPWCqHP_mMRNecoD76M,657
|
81
81
|
bear_utils/monitoring/host_monitor.py,sha256=e0TYRJw9iDj5Ga6y3ck1TBFEeH42Cax5mQYaNU8yams,13241
|
82
82
|
bear_utils/time/__init__.py,sha256=d9Ovv-Dlx5NWgnOl1hY-evznVm9hboS6ypNp1wDFxQQ,934
|
83
|
-
bear_utils-0.8.
|
84
|
-
bear_utils-0.8.
|
85
|
-
bear_utils-0.8.
|
83
|
+
bear_utils-0.8.4.dist-info/METADATA,sha256=MWGyDV2Wod3G9WdKUunCbx0_XDBaULZ_R2_fkTKgB24,8634
|
84
|
+
bear_utils-0.8.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
85
|
+
bear_utils-0.8.4.dist-info/RECORD,,
|
File without changes
|