bear-utils 0.7.16__py3-none-any.whl → 0.7.18__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,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'{self.shell} -c "{self.cmd_buffer.getvalue()}"'
191
+ full_command: str = f"{self.shell} -c {shlex.quote(self.cmd_buffer.getvalue())}"
191
192
  return full_command
192
193
 
193
194
  @property
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bear-utils
3
- Version: 0.7.16
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.16
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
 
@@ -11,7 +11,7 @@ bear_utils/cli/commands.py,sha256=2uVYhU3qXdpkmQ3gKaUgsplfJMpEVxVGvdnJl-3H7to,28
11
11
  bear_utils/cli/prompt_helpers.py,sha256=aGfa4tnO24kFKC-CBJhoiKtll8kc_uU5RvXmxSoD5BM,6094
12
12
  bear_utils/cli/shell/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  bear_utils/cli/shell/_base_command.py,sha256=4VsInKhWRSzPyllnXXdueCDKwJz6i7ioZP1bZN-K5T4,2360
14
- bear_utils/cli/shell/_base_shell.py,sha256=XW55HapnW2_1UnM-SKFQtQgqtOl6uUpUmT0Mn-Mfj6s,14529
14
+ bear_utils/cli/shell/_base_shell.py,sha256=nNiG0e9E6GENp7QQqlt9u4XAvpjVEJ-go4y0hpylTOs,14553
15
15
  bear_utils/cli/shell/_common.py,sha256=_KQyL5lvqOfjonFIwlEOyp3K9G3TSOj19RhgVzfNNpg,669
16
16
  bear_utils/config/__init__.py,sha256=htYbcAhIAGXgA4BaSQMKRtwu5RjWwNsnAiD0JxZ82aE,289
17
17
  bear_utils/config/config_manager.py,sha256=WojWwxsTo2Izf2EFxZJXjjUmhqcbbatZ-nBKq436BGw,2631
@@ -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.16.dist-info/METADATA,sha256=S7g4ny5792tsaI6u-NxZVP7Yds5zU8SvGC83NtE5R90,7326
78
- bear_utils-0.7.16.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
79
- bear_utils-0.7.16.dist-info/RECORD,,
77
+ bear_utils-0.7.18.dist-info/METADATA,sha256=uazue-pap_bjhCfU3jk4Xin8OwAbzVqvxjb6m4NjtfI,7326
78
+ bear_utils-0.7.18.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
79
+ bear_utils-0.7.18.dist-info/RECORD,,