bear-utils 0.7.16__tar.gz → 0.7.18__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.7.16 → bear_utils-0.7.18}/.bumpversion.cfg +1 -1
- {bear_utils-0.7.16 → bear_utils-0.7.18}/PKG-INFO +2 -2
- {bear_utils-0.7.16 → bear_utils-0.7.18}/README.md +1 -1
- {bear_utils-0.7.16 → bear_utils-0.7.18}/pyproject.toml +1 -1
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/cli/shell/_base_shell.py +2 -1
- {bear_utils-0.7.16 → bear_utils-0.7.18}/.gitignore +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/.python-version +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/AGENTS.md +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/directory_structure.txt +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/maskfile.md +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/ai/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/ai/ai_helpers/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/ai/ai_helpers/_common.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/ai/ai_helpers/_config.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/ai/ai_helpers/_parsers.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/ai/ai_helpers/_types.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/cache/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/cli/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/cli/commands.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/cli/prompt_helpers.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/cli/shell/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/cli/shell/_base_command.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/cli/shell/_common.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/config/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/config/config_manager.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/config/dir_manager.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/config/settings_manager.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/constants/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/constants/_exceptions.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/constants/_lazy_typing.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/constants/date_related.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/constants/time_related.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/database/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/database/_db_manager.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/events/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/events/events_class.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/events/events_module.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/extras/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/extras/_async_helpers.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/extras/_tools.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/extras/platform_utils.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/extras/wrappers/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/extras/wrappers/add_methods.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/files/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/files/file_handlers/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/files/file_handlers/_base_file_handler.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/files/file_handlers/file_handler_factory.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/files/file_handlers/json_file_handler.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/files/file_handlers/log_file_handler.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/files/file_handlers/toml_file_handler.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/files/file_handlers/txt_file_handler.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/files/file_handlers/yaml_file_handler.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/files/ignore_parser.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/graphics/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/graphics/bear_gradient.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/graphics/image_helpers.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/gui/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/gui/gui_tools/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/gui/gui_tools/_settings.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/gui/gui_tools/_types.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/gui/gui_tools/qt_app.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/gui/gui_tools/qt_color_picker.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/gui/gui_tools/qt_file_handler.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/gui/gui_tools/qt_input_dialog.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/_common.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/_console_junk.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/_styles.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/loggers/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/loggers/_base_logger.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/loggers/_base_logger.pyi +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/loggers/_buffer_logger.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/loggers/_console_logger.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/loggers/_console_logger.pyi +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/loggers/_file_logger.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/loggers/_level_sin.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/loggers/_logger.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/loggers/_sub_logger.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/loggers/_sub_logger.pyi +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/loggers.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/monitoring/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/monitoring/host_monitor.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/time/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/tests/__init__.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/tests/test_add_ord_suffix.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/tests/test_clipboard.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/tests/test_default_shell.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/tests/test_gradient.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/tests/test_logger.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/tests/test_platform_utils.py +0 -0
- {bear_utils-0.7.16 → bear_utils-0.7.18}/uv.lock +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: bear-utils
|
3
|
-
Version: 0.7.
|
3
|
+
Version: 0.7.18
|
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: sqlalchemy<3.0.0,>=2.0.40
|
|
20
20
|
Requires-Dist: toml>=0.10.2
|
21
21
|
Description-Content-Type: text/markdown
|
22
22
|
|
23
|
-
# Bear Utils v# Bear Utils v0.7.
|
23
|
+
# Bear Utils v# Bear Utils v0.7.18
|
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.7.
|
1
|
+
# Bear Utils v# Bear Utils v0.7.18
|
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.7.
|
3
|
+
version = "0.7.18"
|
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"
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import asyncio
|
2
2
|
import os
|
3
|
+
import shlex
|
3
4
|
import subprocess
|
4
5
|
from asyncio.streams import StreamReader
|
5
6
|
from asyncio.subprocess import Process
|
@@ -187,7 +188,7 @@ class SimpleShellSession:
|
|
187
188
|
"""Return the combined command as a string"""
|
188
189
|
if not self.cmd_buffer:
|
189
190
|
raise ValueError("No commands have been run yet")
|
190
|
-
full_command: str = f
|
191
|
+
full_command: str = f"{self.shell} -c {shlex.quote(self.cmd_buffer.getvalue())}"
|
191
192
|
return full_command
|
192
193
|
|
193
194
|
@property
|
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.7.16 → bear_utils-0.7.18}/src/bear_utils/files/file_handlers/_base_file_handler.py
RENAMED
File without changes
|
{bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/files/file_handlers/file_handler_factory.py
RENAMED
File without changes
|
{bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/files/file_handlers/json_file_handler.py
RENAMED
File without changes
|
{bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/files/file_handlers/log_file_handler.py
RENAMED
File without changes
|
{bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/files/file_handlers/toml_file_handler.py
RENAMED
File without changes
|
{bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/files/file_handlers/txt_file_handler.py
RENAMED
File without changes
|
{bear_utils-0.7.16 → bear_utils-0.7.18}/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
|
{bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/_console_junk.py
RENAMED
File without changes
|
File without changes
|
{bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/loggers/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/loggers/_level_sin.py
RENAMED
File without changes
|
{bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/loggers/_logger.py
RENAMED
File without changes
|
{bear_utils-0.7.16 → bear_utils-0.7.18}/src/bear_utils/logging/logger_manager/loggers/_sub_logger.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
|