bear-utils 0.8.2__tar.gz → 0.8.3__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.
- {bear_utils-0.8.2 → bear_utils-0.8.3}/.bumpversion.cfg +1 -1
- {bear_utils-0.8.2 → bear_utils-0.8.3}/PKG-INFO +2 -2
- {bear_utils-0.8.2 → bear_utils-0.8.3}/README.md +1 -1
- {bear_utils-0.8.2 → bear_utils-0.8.3}/pyproject.toml +1 -1
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/constants/logger_protocol.py +5 -5
- {bear_utils-0.8.2 → bear_utils-0.8.3}/tests/test_logger.py +2 -1
- {bear_utils-0.8.2 → bear_utils-0.8.3}/.gitignore +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/.python-version +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/AGENTS.md +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/config/coverage.ini +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/config/default.toml +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/config/git-changelog.toml +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/config/pytest.ini +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/config/ruff.toml +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/config/vscode/launch.json +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/config/vscode/settings.json +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/config/vscode/tasks.json +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/directory_structure.txt +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/maskfile.md +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/noxfile.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/__main__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/_internal/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/_internal/cli.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/_internal/debug.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/ai/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/ai/ai_helpers/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/ai/ai_helpers/_common.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/ai/ai_helpers/_config.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/ai/ai_helpers/_parsers.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/ai/ai_helpers/_types.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/cache/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/cli/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/cli/commands.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/cli/prompt_helpers.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/cli/shell/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/cli/shell/_base_command.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/cli/shell/_base_shell.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/cli/shell/_common.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/config/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/config/config_manager.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/config/dir_manager.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/config/settings_manager.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/constants/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/constants/_exceptions.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/constants/_lazy_typing.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/constants/date_related.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/constants/time_related.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/database/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/database/_db_manager.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/events/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/events/events_class.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/events/events_module.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/extras/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/extras/_async_helpers.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/extras/_tools.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/extras/platform_utils.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/extras/responses/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/extras/responses/function_response.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/extras/wrappers/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/extras/wrappers/add_methods.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/files/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/files/file_handlers/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/files/file_handlers/_base_file_handler.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/files/file_handlers/file_handler_factory.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/files/file_handlers/json_file_handler.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/files/file_handlers/log_file_handler.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/files/file_handlers/toml_file_handler.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/files/file_handlers/txt_file_handler.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/files/file_handlers/yaml_file_handler.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/files/ignore_parser.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/graphics/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/graphics/bear_gradient.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/graphics/image_helpers.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/gui/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/gui/gui_tools/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/gui/gui_tools/_settings.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/gui/gui_tools/_types.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/gui/gui_tools/qt_app.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/gui/gui_tools/qt_color_picker.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/gui/gui_tools/qt_file_handler.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/gui/gui_tools/qt_input_dialog.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/_common.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/_console_junk.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/_styles.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/loggers/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/loggers/_base_logger.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/loggers/_base_logger.pyi +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/loggers/_buffer_logger.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/loggers/_console_logger.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/loggers/_console_logger.pyi +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/loggers/_file_logger.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/loggers/_level_sin.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/loggers/_logger.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/loggers/_sub_logger.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/loggers/_sub_logger.pyi +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/monitoring/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/monitoring/_common.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/monitoring/host_monitor.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/time/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/tests/__init__.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/tests/test_add_ord_suffix.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/tests/test_clipboard.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/tests/test_default_shell.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/tests/test_function_response.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/tests/test_gradient.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/tests/test_platform_utils.py +0 -0
- {bear_utils-0.8.2 → bear_utils-0.8.3}/uv.lock +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: bear-utils
|
3
|
-
Version: 0.8.
|
3
|
+
Version: 0.8.3
|
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.3
|
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
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Bear Utils v# Bear Utils v0.8.
|
1
|
+
# Bear Utils v# Bear Utils v0.8.3
|
2
2
|
|
3
3
|
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.
|
4
4
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "bear-utils"
|
3
|
-
version = "0.8.
|
3
|
+
version = "0.8.3"
|
4
4
|
description = "Various utilities for Bear programmers, including a rich logging utility, a disk cache, and a SQLite database wrapper amongst other things."
|
5
5
|
authors = [{ name = "chaz", email = "bright.lid5647@fastmail.com" }]
|
6
6
|
readme = "README.md"
|
@@ -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
|
...
|
@@ -38,7 +38,8 @@ class TestLoggerFactory:
|
|
38
38
|
return ConsoleLogger.get_instance(init=True, **defaults)
|
39
39
|
|
40
40
|
@staticmethod
|
41
|
-
def create_file_logger(**kwargs):
|
41
|
+
def create_file_logger(**kwargs) -> FileLogger:
|
42
|
+
"""Create a FileLogger instance for testing."""
|
42
43
|
if FileLogger.has_instance():
|
43
44
|
FileLogger.reset_instance()
|
44
45
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/files/file_handlers/_base_file_handler.py
RENAMED
File without changes
|
{bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/files/file_handlers/file_handler_factory.py
RENAMED
File without changes
|
{bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/files/file_handlers/json_file_handler.py
RENAMED
File without changes
|
{bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/files/file_handlers/log_file_handler.py
RENAMED
File without changes
|
{bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/files/file_handlers/toml_file_handler.py
RENAMED
File without changes
|
{bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/files/file_handlers/txt_file_handler.py
RENAMED
File without changes
|
{bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/files/file_handlers/yaml_file_handler.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/loggers/_base_logger.pyi
RENAMED
File without changes
|
{bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/loggers/_buffer_logger.py
RENAMED
File without changes
|
{bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/loggers/_console_logger.py
RENAMED
File without changes
|
{bear_utils-0.8.2 → bear_utils-0.8.3}/src/bear_utils/logger_manager/loggers/_console_logger.pyi
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|